From 3f2f1571e5b1839c88f9facfe6834ec19f6e533a Mon Sep 17 00:00:00 2001 From: Kent Mein Date: Mon, 25 Nov 2002 10:13:52 +0000 Subject: added the following to configure.ac +case "$target" in + *sparc* ) + AC_DEFINE(SUN_OGL_NO_VERTEX_MACROS,1,[Fix for Sun's GL]) + ;; +esac + Also added the include to the above .c files. I'm going to add it to everything in source just haven't gotten that far yet. Kent --- source/blender/avi/intern/avirgb.c | 4 ++++ source/blender/avi/intern/endian.c | 4 ++++ source/blender/blenkernel/intern/action.c | 4 ++++ source/blender/blenkernel/intern/displist.c | 5 +++++ source/blender/blenkernel/intern/image.c | 4 ++++ source/blender/blenkernel/intern/sca.c | 4 ++++ source/blender/bpython/intern/opy_draw.c | 4 ++++ 7 files changed, 29 insertions(+) diff --git a/source/blender/avi/intern/avirgb.c b/source/blender/avi/intern/avirgb.c index 4ebf381e5bf..8461167efc8 100644 --- a/source/blender/avi/intern/avirgb.c +++ b/source/blender/avi/intern/avirgb.c @@ -35,6 +35,10 @@ * */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "AVI_avi.h" #include #include diff --git a/source/blender/avi/intern/endian.c b/source/blender/avi/intern/endian.c index 144e7ee86db..95492805760 100644 --- a/source/blender/avi/intern/endian.c +++ b/source/blender/avi/intern/endian.c @@ -35,6 +35,10 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** * */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/source/blender/blenkernel/intern/action.c b/source/blender/blenkernel/intern/action.c index 9f5de3f34fa..928b714e340 100644 --- a/source/blender/blenkernel/intern/action.c +++ b/source/blender/blenkernel/intern/action.c @@ -30,6 +30,10 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include /* for NULL */ diff --git a/source/blender/blenkernel/intern/displist.c b/source/blender/blenkernel/intern/displist.c index b9f9d59c5e3..e926a581475 100644 --- a/source/blender/blenkernel/intern/displist.c +++ b/source/blender/blenkernel/intern/displist.c @@ -34,6 +34,11 @@ * * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ + +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/source/blender/blenkernel/intern/image.c b/source/blender/blenkernel/intern/image.c index 7e3e5eca3aa..f87e9751708 100644 --- a/source/blender/blenkernel/intern/image.c +++ b/source/blender/blenkernel/intern/image.c @@ -33,6 +33,10 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/source/blender/blenkernel/intern/sca.c b/source/blender/blenkernel/intern/sca.c index a105b240942..fdcf998d1d3 100644 --- a/source/blender/blenkernel/intern/sca.c +++ b/source/blender/blenkernel/intern/sca.c @@ -32,6 +32,10 @@ * all data is 'direct data', not Blender lib data. */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include "MEM_guardedalloc.h" diff --git a/source/blender/bpython/intern/opy_draw.c b/source/blender/bpython/intern/opy_draw.c index 23929b1392f..36e3382f88f 100644 --- a/source/blender/bpython/intern/opy_draw.c +++ b/source/blender/bpython/intern/opy_draw.c @@ -32,6 +32,10 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef WIN32 #include "BLI_winstuff.h" #endif -- cgit v1.2.3