Author: Richard Plangger <[email protected]>
Branch: 
Changeset: r90882:cc6d8f1ca9bc
Date: 2017-03-30 19:18 -0400
http://bitbucket.org/pypy/pypy/changeset/cc6d8f1ca9bc/

Log:    only define RPY_EXPORTED if it has not already been defined

diff --git a/rpython/rlib/rvmprof/src/rvmprof.h 
b/rpython/rlib/rvmprof/src/rvmprof.h
--- a/rpython/rlib/rvmprof/src/rvmprof.h
+++ b/rpython/rlib/rvmprof/src/rvmprof.h
@@ -16,7 +16,9 @@
 #define RPY_EXTERN RPY_EXPORTED
 #endif
 #ifdef _WIN32
+#ifndef RPY_EXPORTED
 #define RPY_EXPORTED __declspec(dllexport)
+#endif
 #else
 #define RPY_EXPORTED  extern __attribute__((visibility("default")))
 #endif
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to