source:
issm/oecreview/Archive/12121-12140/ISSM-12127-12128.diff@
12325
Last change on this file since 12325 was 12325, checked in by , 13 years ago | |
---|---|
File size: 1.3 KB |
-
TabularUnified proj/ice/larour/issm-uci-clean/trunk-jpl/src/c/toolkits/python/pythonincludes.h
6 6 #define _PYTHON_INCLUDES_H_ 7 7 8 8 9 #ifdef HAVE_CONFIG_H 10 #include <config.h> 11 #else 12 #error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!" 13 #endif 14 15 #if _PYTHON_MAJOR_ == 2 16 #undef NPY_NO_DEPRECATED_API 17 #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION 18 #else 19 #define NPY_NO_DEPRECATED_API 20 #endif 21 9 22 #include "Python.h" 10 23 #include "arrayobject.h" 11 24 -
TabularUnified proj/ice/larour/issm-uci-clean/trunk-jpl/src/c/Makefile.am
949 949 if PYTHON 950 950 libISSMPython_a_SOURCES = $(python_sources) 951 951 libISSMPython_a_CXXFLAGS= $(ALLCXXFLAGS) 952 if PYTHON3953 libISSMPython_a_CXXFLAGS+= -DNPY_NO_DEPRECATED_API954 952 endif 955 endif956 953 957 954 if MATLAB 958 955 libISSMMatlab_a_SOURCES = $(matlab_sources)
Note:
See TracBrowser
for help on using the repository browser.