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:
@@ -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) )
|
||||
|
||||
Reference in New Issue
Block a user