// ====================================================================== // // FirstPlatform.h // jeff grills // // copyright 1998 Bootprint Entertainment // // ====================================================================== #ifndef FIRST_PLATFORM_H #define FIRST_PLATFORM_H // ====================================================================== #include #define DLLEXPORT // ====================================================================== // C4514 unreferenced inline function has been removed // C4710 inline function not expanded // C4291 no matching operator delete found; memory will not be freed if initialization throws an exception #include #include #include #include #include #include #include #include #include "sharedFoundation/PlatformGlue.h" #include "sharedMemoryManager/MemoryManager.h" // ====================================================================== template inline int ComGetReferenceCount(T *t) { t->AddRef(); return t->Release(); } // ====================================================================== #define FATAL_HR(a,b) FATAL(FAILED(b), (a, HRESULT_CODE(b))) #define DEBUG_FATAL_HR(a,b) DEBUG_FATAL(FAILED(b), (a, HRESULT_CODE(b))) // ====================================================================== #endif