added the following to configure.ac
authorKent Mein <mein@cs.umn.edu>
Mon, 25 Nov 2002 10:13:52 +0000 (10:13 +0000)
committerKent Mein <mein@cs.umn.edu>
Mon, 25 Nov 2002 10:13:52 +0000 (10:13 +0000)
+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
source/blender/avi/intern/endian.c
source/blender/blenkernel/intern/action.c
source/blender/blenkernel/intern/displist.c
source/blender/blenkernel/intern/image.c
source/blender/blenkernel/intern/sca.c
source/blender/bpython/intern/opy_draw.c

index 4ebf381e5bf0a1d406e9203b1b08beb70671604e..8461167efc817e62fa41adab216c1f66d5d363c4 100644 (file)
  *
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "AVI_avi.h"
 #include <stdlib.h>
 #include <string.h>
index 144e7ee86db33df7b5a20b25325cf4c07bc7f919..95492805760d00b919ec4e589b1708add4ea2ebd 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  *  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdlib.h>
 #include <string.h>
 #include <stdio.h> 
index 9f5de3f34fa2397819e8243065f42d6015c3306c..928b714e340b837b8e27e4b0ab2a3c983ad20132 100644 (file)
  * ***** 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 */
index b9f9d59c5e31d3ca9ed7f2a7703170cd8b755bf5..e926a581475e128ecff83392dfcf51d91de1eed9 100644 (file)
  *
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <math.h>
 #include <stdio.h>
 #include <string.h>
index 7e3e5eca3aacbc5f23454d99a34ff2acd29324cb..f87e9751708e68e203afda739ab24af385f437d3 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdio.h>
 #include <string.h>
 #include <fcntl.h>
index a105b24094272230821e24eda34d02632229273c..fdcf998d1d344f0bf536c930babe6045de3a3027 100644 (file)
  * 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"
index 23929b1392f1a0e6a351d5b356e7cee86db35356..36e3382f88f3fd13d9b3bd7e5f2f38c2c6f37ebd 100644 (file)
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef WIN32
 #include "BLI_winstuff.h"
 #endif