Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The _MSC_VER guard prevents rc.exe to compile some rc files #18

Open
viruscamp opened this issue Jul 16, 2022 · 0 comments
Open

The _MSC_VER guard prevents rc.exe to compile some rc files #18

viruscamp opened this issue Jul 16, 2022 · 0 comments

Comments

@viruscamp
Copy link

The _MSC_VER guard prevents rc.exe to compile some rc files

#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
\\
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant