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