00001 /* 00002 * PROPRIETARY INFORMATION. This software is proprietary to 00003 * Side Effects Software Inc., and is not to be reproduced, 00004 * transmitted, or disclosed in any way without written permission. 00005 * 00006 * Authored by: 00007 * Side Effects Software Inc. 00008 * 00009 * NAME: SYS_Platform.h (SYS Library, C++) 00010 * 00011 * COMMENTS: Functions related to OS/Machine specific 00012 * information. 00013 */ 00014 00015 #ifndef __SYS_Platform_h__ 00016 #define __SYS_Platform_h__ 00017 00018 #include "SYS_API.h" 00019 00020 /// Get processor information about the CPU that Houdini is running on. 00021 /// Please see SYS_ProcessorDefines.h for CPU information 00022 SYS_API extern void SYSgetProcessor(int &majortype, int &flags); 00023 00024 /// Find the name of the operating system that Houdini was compiled for 00025 SYS_API extern const char *SYSgetOsProc(); 00026 00027 /// Find the exact OS, 32-bit or 64-bit build, compiler version 00028 SYS_API extern const char *SYSgetPlatformSpec(); 00029 00030 /// Just a handy, quick, and fast function to test the platform for which 00031 /// the code is being compiled. 00032 SYS_API extern bool SYSisMBSD(); 00033 SYS_API extern bool SYSisLinux(); 00034 SYS_API extern bool SYSisWindows(); 00035 00036 #endif // __UT_SysSpecific_h__
1.5.9