Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
pybind11
Commits
6c698fec
Commit
6c698fec
authored
Oct 01, 2015
by
Wenzel Jakob
Browse files
Fix usage of WIN32 define
parent
a2f6fde0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
include/pybind/common.h
include/pybind/common.h
+1
-1
No files found.
include/pybind/common.h
View file @
6c698fec
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
#endif
#endif
#if !defined(PYTHON_EXPORT)
#if !defined(PYTHON_EXPORT)
#if defined(WIN32)
#if defined(WIN32)
|| defined(_WIN32)
#define PYTHON_EXPORT __declspec(dllexport)
#define PYTHON_EXPORT __declspec(dllexport)
#else
#else
#define PYTHON_EXPORT __attribute__ ((visibility("default")))
#define PYTHON_EXPORT __attribute__ ((visibility("default")))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment