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
This commit is contained in:
Kent Mein 2002-11-25 10:13:52 +00:00
parent 0fbadc8eb7
commit 3f2f1571e5
7 changed files with 29 additions and 0 deletions

@ -35,6 +35,10 @@
* *
*/ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "AVI_avi.h" #include "AVI_avi.h"
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>

@ -35,6 +35,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK ***** * ***** END GPL/BL DUAL LICENSE BLOCK *****
* */ * */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <stdio.h> #include <stdio.h>

@ -30,6 +30,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK ***** * ***** END GPL/BL DUAL LICENSE BLOCK *****
*/ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <string.h> #include <string.h>
#include <math.h> #include <math.h>
#include <stdlib.h> /* for NULL */ #include <stdlib.h> /* for NULL */

@ -34,6 +34,11 @@
* *
* ***** END GPL/BL DUAL LICENSE BLOCK ***** * ***** END GPL/BL DUAL LICENSE BLOCK *****
*/ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <math.h> #include <math.h>
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>

@ -33,6 +33,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK ***** * ***** END GPL/BL DUAL LICENSE BLOCK *****
*/ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <fcntl.h> #include <fcntl.h>

@ -32,6 +32,10 @@
* all data is 'direct data', not Blender lib data. * all data is 'direct data', not Blender lib data.
*/ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include "MEM_guardedalloc.h" #include "MEM_guardedalloc.h"

@ -32,6 +32,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK ***** * ***** END GPL/BL DUAL LICENSE BLOCK *****
*/ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef WIN32 #ifdef WIN32
#include "BLI_winstuff.h" #include "BLI_winstuff.h"
#endif #endif