Skip to content

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

@viruscamp

Description

@viruscamp

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
\\

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions