Skip to content

Commit

Permalink
build: support 64-bit MSWindows in EXTERN_PREFIX definition
Browse files Browse the repository at this point in the history
The EXTERN_PREFIX definition added back in 7d3ccb4 ("configure: go
back to platform-based EXTERN_PREFIX test") needs a separate case for
_WIN64, as MinGW defines both that and _WIN32 but there is no prefix
unlike 32-bit case.
  • Loading branch information
Uoti Urpala committed Jan 26, 2013
1 parent bbadbda commit d3c5801
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mangle.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
#define attribute_used
#endif

#if defined(_WIN32) || defined(__APPLE__)
#if defined(_WIN32) && !defined(_WIN64) || defined(__APPLE__)
#define EXTERN_PREFIX "_"
#else
#define EXTERN_PREFIX ""
Expand Down

0 comments on commit d3c5801

Please sign in to comment.