Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2010-04-08 03:28:29 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2010-04-08 03:28:29 +0400
commit7ed7524c91a07756466cc235d476daf0c7100b72 (patch)
treeac2dba733bec9c9e47da957bb0f8abec838f67a0 /source/blender/freestyle/intern/view_map/Interface0D.h
parentf85bcac8ae73f763bce29916a616b9b713d984b8 (diff)
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).
Diffstat (limited to 'source/blender/freestyle/intern/view_map/Interface0D.h')
-rwxr-xr-xsource/blender/freestyle/intern/view_map/Interface0D.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/source/blender/freestyle/intern/view_map/Interface0D.h b/source/blender/freestyle/intern/view_map/Interface0D.h
index 5108524cdd3..48d956eec19 100755
--- a/source/blender/freestyle/intern/view_map/Interface0D.h
+++ b/source/blender/freestyle/intern/view_map/Interface0D.h
@@ -30,6 +30,7 @@
#ifndef INTERFACE0D_H
# define INTERFACE0D_H
+# include <Python.h>
# include <string>
# include <iostream>
# include "../system/Id.h"
@@ -40,16 +41,6 @@ using namespace std;
#include "../system/Iterator.h" //soc
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#include <Python.h>
-
-#ifdef __cplusplus
-}
-#endif
-
//
// Interface0D
//