https://github.com/Kitware/CMake
Raw File
Tip revision: 0aae790a5edc2f8cc7501f61c011409c55d32d89 authored by Brad King on 23 June 2021, 13:01:47 UTC
CMake 3.21.0-rc1
Tip revision: 0aae790
foo.c
#ifdef _MSC_VER
#  include "windows.h"
#else
#  define WINAPI
#endif

int WINAPI foo()
{
  return 10;
}

int bar()
{
  return 5;
}
back to top