Skip to content

Commit

Permalink
build winrt versions with correct definition of CP_EXPORT
Browse files Browse the repository at this point in the history
  • Loading branch information
stammen committed Apr 15, 2016
1 parent 0d212d7 commit 120b93f
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion chipmunk/include/chipmunk/chipmunk.h
Expand Up @@ -28,7 +28,11 @@
#ifdef WIN32
// For alloca().
#include <malloc.h>
#define CP_EXPORT __declspec(dllexport)
#if !defined(WINAPI_FAMILY) || (WINAPI_FAMILY == WINAPI_FAMILY_DESKTOP_APP)
#define CP_EXPORT __declspec(dllexport)
#else
#define CP_EXPORT
#endif
#else
#include <alloca.h>
#define CP_EXPORT
Expand Down
Binary file modified chipmunk/prebuilt/win10/arm/chipmunk.lib
Binary file not shown.
Binary file modified chipmunk/prebuilt/win10/win32/chipmunk.lib
Binary file not shown.
Binary file modified chipmunk/prebuilt/winrt_8.1/arm/chipmunk.lib
Binary file not shown.
Binary file modified chipmunk/prebuilt/winrt_8.1/win32/chipmunk.lib
Binary file not shown.
Binary file modified chipmunk/prebuilt/wp_8.1/arm/chipmunk.lib
Binary file not shown.
Binary file modified chipmunk/prebuilt/wp_8.1/win32/chipmunk.lib
Binary file not shown.

0 comments on commit 120b93f

Please sign in to comment.