cmake/Tests/Jump/Executable/jumpExecutable.cxx

13 lines
206 B
C++
Raw Normal View History

#ifdef _WIN32
2016-07-09 11:21:54 +02:00
#define JUMP_IMPORT __declspec(dllimport)
#else
2016-07-09 11:21:54 +02:00
#define JUMP_IMPORT extern
#endif
extern int jumpStatic();
JUMP_IMPORT int jumpShared();
int main()
{
return jumpShared() && jumpShared();
}