Files
CMake/Tests/RunCMake/SharedLibraryDefines/checker.h
2025-10-07 09:29:42 -04:00

20 lines
335 B
C

#pragma once
#ifdef MUST_HAVE_DEFINE
# ifndef _WINDLL
# error "_WINDLL is not defined, but it should be"
# endif
# if _WINDLL != 1
# error "_WINDLL is not defined as 1, but it should be"
# endif
#else
# ifdef _WINDLL
# error "_WINDLL is defined, but it should not be"
# endif
#endif
int FUNCTION(void)
{
return 0;
}