Got rid of a number of compiler warnings with regard to redefinitions

of _POSIX_C_SOURCE and _XOPEN_SOURCE.  There are no functional changes.
Tested with GCC 4.4.1 on Ubuntu 9.10 (karmic).
This commit is contained in:
2010-04-07 23:28:29 +00:00
parent f85bcac8ae
commit 7ed7524c91
65 changed files with 94 additions and 114 deletions

View File

@@ -1,6 +1,8 @@
#ifndef FREESTYLE_PYTHON_BINARYPREDICATE0D_H
#define FREESTYLE_PYTHON_BINARYPREDICATE0D_H
#include <Python.h>
#include "../stroke/Predicates0D.h"
#ifdef __cplusplus
@@ -9,8 +11,6 @@ extern "C" {
///////////////////////////////////////////////////////////////////////////////////////////
#include <Python.h>
extern PyTypeObject BinaryPredicate0D_Type;
#define BPy_BinaryPredicate0D_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &BinaryPredicate0D_Type) )