00001 /* 00002 Free Download Manager Copyright (c) 2003-2007 FreeDownloadManager.ORG 00003 */ 00004 00005 #ifndef __IF_SYSTEM_H_ 00006 #define __IF_SYSTEM_H_ 00007 00008 extern void fsIFOnMemoryError (); 00009 00010 #pragma warning (disable:4127) 00011 00012 #define fsnew(p, T, L) while (1) { try { p = new T [L]; if (p == NULL) fsIFOnMemoryError (); else break; } catch (...) {fsIFOnMemoryError ();} } 00013 00014 #endif
1.5.6