Commit f2d3e386 authored by Bill Hoffman's avatar Bill Hoffman
Browse files

ENH: make it work on non windows

parent 39ccc4fb
#ifdef _WIN32
# define CM_TEST_LIB_IMPORT __declspec( dllimport )
#else
# define CM_TEST_LIB_IMPORT
#endif
CM_TEST_LIB_IMPORT void foo();
int main()
......
#include <stdio.h>
#ifdef _WIN32
# define CM_TEST_LIB_EXPORT __declspec( dllexport )
#else
# define CM_TEST_LIB_EXPORT
#endif
CM_TEST_LIB_EXPORT void foo()
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment