Open viruscamp opened 2 years ago
The _MSC_VER guard prevents rc.exe to compile some rc files
_MSC_VER
#ifndef _MSC_VER // [ #error "Use this header only with Microsoft Visual C++ compilers!" #endif // _MSC_VER ]
for examples:
libabc.h
#include <stdint.h> #define LIBABC_VERSION "3.7.9" int use_abc();
libabc.rc
#include <libabc.h> #include <windows.h> \\ VALUE "ProductVersion", LIBABC_VERSION \\
The
_MSC_VER
guard prevents rc.exe to compile some rc filesfor examples:
libabc.h
libabc.rc