1 // StdAfx.h : include file for standard system include files,
2 // or project specific include files that are used frequently, but
3 // are changed infrequently
6 #if !defined(AFX_STDAFX_H__2A1522EC_5D1E_4342_944F_2A3917F67CA6__INCLUDED_)
7 #define AFX_STDAFX_H__2A1522EC_5D1E_4342_944F_2A3917F67CA6__INCLUDED_
11 #endif // _MSC_VER > 1000
13 #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
17 // TODO: reference additional headers your program requires here
20 #pragma warning (disable: 4786)
26 #include <boost/smart_ptr.hpp>
28 //---------------------------------------------------------------------------
29 #define countof(x) (sizeof(x) / sizeof(x[0]))
30 //#define RELEASE(x) if (x) (x)->Release ();
31 //#define DELETE(x) { delete (x); x = NULL; }
33 typedef std::vector
<std::string
> StringVector
;
36 #if !defined(_MSC_VER)
37 #define _snprintf snprintf
40 //---------------------------------------------------------------------------
41 void Info (const char* message
);
42 void Notice (const char* message
);
43 void Warning (const char* message
);
44 void Error (const char* message
);
46 #define warn_if(x) (x) ? Warning (#x), false : true;
47 #define warn_with_msg_if(x,y) (x) ? Warning (y), false : true;
50 #include <SSPhysLib/SSException.h>
57 //{{AFX_INSERT_LOCATION}}
58 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
60 #endif // !defined(AFX_STDAFX_H__2A1522EC_5D1E_4342_944F_2A3917F67CA6__INCLUDED_)