summaryrefslogtreecommitdiff
path: root/win32/win32iop.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1997-11-12 03:25:17 +0000
committerGurusamy Sarathy <gsar@cpan.org>1997-11-12 03:25:17 +0000
commit326b05e39df78c03a667485573aed70a9080cab0 (patch)
tree8aeb45ed238b3c5098f60d7c42b7812474be91ac /win32/win32iop.h
parent4b026b9ec580787cd32d43ab9381ecc2040179be (diff)
downloadperl-326b05e39df78c03a667485573aed70a9080cab0.tar.gz
Clean up win32/win32sck.c (runtime load of Winsock now gone, it can be
done cleaner, if really needed (perhaps only for efficiency reasons?)). Redundant EXTERN_C definitions and related warnings fixed. p4raw-id: //depot/win32/perl@238
Diffstat (limited to 'win32/win32iop.h')
-rw-r--r--win32/win32iop.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/win32/win32iop.h b/win32/win32iop.h
index 52acce1a9b..c5f718ac36 100644
--- a/win32/win32iop.h
+++ b/win32/win32iop.h
@@ -1,6 +1,18 @@
#ifndef WIN32IOP_H
#define WIN32IOP_H
+#ifndef START_EXTERN_C
+#ifdef __cplusplus
+# define START_EXTERN_C extern "C" {
+# define END_EXTERN_C }
+# define EXTERN_C extern "C"
+#else
+# define START_EXTERN_C
+# define END_EXTERN_C
+# define EXTERN_C
+#endif
+#endif
+
/*
* defines for flock emulation
*/