blob: 9ec64366e2c30e1707ee6a425a78ab1b933ae9ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
--- CXX/WrapPython.h
+++ CXX/WrapPython.h
@@ -1,3 +1,4 @@
+/*
//-----------------------------------------------------------------------------
//
// Copyright (c) 1998 - 2007, The Regents of the University of California
@@ -34,27 +35,28 @@
// DAMAGE.
//
//-----------------------------------------------------------------------------
+*/
#ifndef __PyCXX_wrap_python_hxx__
#define __PyCXX_wrap_python_hxx__
-// On some platforms we have to include time.h to get select defined
+/* On some platforms we have to include time.h to get select defined */
#if !defined(__WIN32__) && !defined(WIN32) && !defined(_WIN32) && !defined(_WIN64)
#include <sys/time.h>
#endif
-// Prevent multiple conflicting definitions of swab from stdlib.h and unistd.h
+/* Prevent multiple conflicting definitions of swab from stdlib.h and unistd.h */
#if defined(__sun) || defined(sun)
#if defined(_XPG4)
#undef _XPG4
#endif
#endif
-// Python.h will redefine these and generate warning in the process
+/* Python.h will redefine these and generate warning in the process */
#undef _XOPEN_SOURCE
#undef _POSIX_C_SOURCE
-// pull in python definitions
+/* pull in python definitions */
#include <Python.h>
#endif
|