libmoost
/home/mhx/git/github/libmoost/include/moost/compiler/pragmas/pragma.hpp
Go to the documentation of this file.
00001 /* vim:set ts=3 sw=3 sts=3 et: */
00036 #ifndef MOOST_COMPILER_PRAGMAS_PRAGMA_HPP__
00037 #define MOOST_COMPILER_PRAGMAS_PRAGMA_HPP__
00038 
00051 #if defined( __GNUC__ )
00052 #define pragma__(X) _Pragma(#X)
00053 #elif defined ( _MSC_VER )
00054 #define pragma__(X) __pragma(X)
00055 #else
00056 #error "Pragma directive unsupported"
00057 #endif
00058 
00059 #endif