diff options
author | Kent Mein <mein@cs.umn.edu> | 2002-11-25 13:13:52 +0300 |
---|---|---|
committer | Kent Mein <mein@cs.umn.edu> | 2002-11-25 13:13:52 +0300 |
commit | 3f2f1571e5b1839c88f9facfe6834ec19f6e533a (patch) | |
tree | 9efb2688d3752ed99138db5faa8b6773c6f14f44 /source | |
parent | 0fbadc8eb7c93e10902cc4357a42dcd73c0a076b (diff) |
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
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/avi/intern/avirgb.c | 4 | ||||
-rw-r--r-- | source/blender/avi/intern/endian.c | 4 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/action.c | 4 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/displist.c | 5 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/image.c | 4 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/sca.c | 4 | ||||
-rw-r--r-- | source/blender/bpython/intern/opy_draw.c | 4 |
7 files changed, 29 insertions, 0 deletions
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 <config.h> +#endif + #include "AVI_avi.h" #include <stdlib.h> #include <string.h> 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 <config.h> +#endif + #include <stdlib.h> #include <string.h> #include <stdio.h> 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 <config.h> +#endif + #include <string.h> #include <math.h> #include <stdlib.h> /* 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 <config.h> +#endif + #include <math.h> #include <stdio.h> #include <string.h> 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 <config.h> +#endif + #include <stdio.h> #include <string.h> #include <fcntl.h> 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 <config.h> +#endif + #include <stdio.h> #include <string.h> #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 <config.h> +#endif + #ifdef WIN32 #include "BLI_winstuff.h" #endif |