aboutsummaryrefslogtreecommitdiff
path: root/Lib/swiglabels.swg
diff options
context:
space:
mode:
authorMarcelo Matus <mmatus@acms.arizona.edu>2006-01-22 20:24:04 +0000
committerMarcelo Matus <mmatus@acms.arizona.edu>2006-01-22 20:24:04 +0000
commit5b3dd8d72f64f031e322bf121dd9b23bad859373 (patch)
tree7c83a0627cc22adde34b36e29c2733a3c8402fae /Lib/swiglabels.swg
parent1fd3330038244dff485df11939b04c83385ff96a (diff)
downloadswig-5b3dd8d72f64f031e322bf121dd9b23bad859373.tar.gz
fix cygwin warning for perl
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8520 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Lib/swiglabels.swg')
-rw-r--r--Lib/swiglabels.swg7
1 files changed, 7 insertions, 0 deletions
diff --git a/Lib/swiglabels.swg b/Lib/swiglabels.swg
index c6018c8d2..98e824eb7 100644
--- a/Lib/swiglabels.swg
+++ b/Lib/swiglabels.swg
@@ -82,3 +82,10 @@
# endif
#endif
+
+#if defined(_MSC_VER)
+# define SWIGINTPTR long
+#else
+# include <inttypes.h>
+# define SWIGINTPTR intptr_t
+#endif