Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Mein <mein@cs.umn.edu>2002-11-25 15:02:15 +0300
committerKent Mein <mein@cs.umn.edu>2002-11-25 15:02:15 +0300
commitd0e346d544cd3abb0007a68137b31923020f7aeb (patch)
treeae0714cd24dd0de0d007d95917d952280f8bd575 /source/blender/blenlib/intern
parentb9a19f1ea702446cb176d3f621de331d5c2cc9da (diff)
updated .c files to include:
#ifdef HAVE_CONFIG_H #include <config.h> #endif Just need to finish cpp files now :) Kent -- mein@cs.umn.edu
Diffstat (limited to 'source/blender/blenlib/intern')
-rw-r--r--source/blender/blenlib/intern/BLI_dynstr.c5
-rw-r--r--source/blender/blenlib/intern/BLI_ghash.c5
-rw-r--r--source/blender/blenlib/intern/BLI_linklist.c4
-rw-r--r--source/blender/blenlib/intern/BLI_memarena.c4
-rw-r--r--source/blender/blenlib/intern/arithb.c4
-rw-r--r--source/blender/blenlib/intern/dynlib.c5
-rw-r--r--source/blender/blenlib/intern/fileops.c4
-rw-r--r--source/blender/blenlib/intern/gsqueue.c5
-rw-r--r--source/blender/blenlib/intern/matrixops.c5
-rw-r--r--source/blender/blenlib/intern/noise.c4
-rw-r--r--source/blender/blenlib/intern/psfont.c4
-rw-r--r--source/blender/blenlib/intern/rand.c4
-rw-r--r--source/blender/blenlib/intern/rct.c4
-rw-r--r--source/blender/blenlib/intern/scanfill.c4
-rw-r--r--source/blender/blenlib/intern/storage.c4
-rw-r--r--source/blender/blenlib/intern/time.c4
-rw-r--r--source/blender/blenlib/intern/util.c4
-rw-r--r--source/blender/blenlib/intern/vectorops.c4
-rw-r--r--source/blender/blenlib/intern/winstuff.c4
19 files changed, 77 insertions, 4 deletions
diff --git a/source/blender/blenlib/intern/BLI_dynstr.c b/source/blender/blenlib/intern/BLI_dynstr.c
index c9b7737427a..8bde670eef5 100644
--- a/source/blender/blenlib/intern/BLI_dynstr.c
+++ b/source/blender/blenlib/intern/BLI_dynstr.c
@@ -35,10 +35,13 @@
#include <string.h>
#include "MEM_guardedalloc.h"
-
#include "BLI_blenlib.h"
#include "BLI_dynstr.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/***/
typedef struct DynStrElem DynStrElem;
diff --git a/source/blender/blenlib/intern/BLI_ghash.c b/source/blender/blenlib/intern/BLI_ghash.c
index d0f1f78fb73..bb7ef40ffb4 100644
--- a/source/blender/blenlib/intern/BLI_ghash.c
+++ b/source/blender/blenlib/intern/BLI_ghash.c
@@ -35,9 +35,12 @@
#include <string.h>
#include "MEM_guardedalloc.h"
-
#include "BLI_ghash.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/***/
static unsigned int hashsizes[]= {
diff --git a/source/blender/blenlib/intern/BLI_linklist.c b/source/blender/blenlib/intern/BLI_linklist.c
index 0c1275b6389..ad945b53d11 100644
--- a/source/blender/blenlib/intern/BLI_linklist.c
+++ b/source/blender/blenlib/intern/BLI_linklist.c
@@ -36,6 +36,10 @@
#include "BLI_linklist.h"
#include "BLI_memarena.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
int BLI_linklist_length(LinkNode *list) {
if (0) {
return list?(1+BLI_linklist_length(list->next)):0;
diff --git a/source/blender/blenlib/intern/BLI_memarena.c b/source/blender/blenlib/intern/BLI_memarena.c
index 596624fcc9e..218fdb3c45b 100644
--- a/source/blender/blenlib/intern/BLI_memarena.c
+++ b/source/blender/blenlib/intern/BLI_memarena.c
@@ -37,6 +37,10 @@
#include "BLI_memarena.h"
#include "BLI_linklist.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
struct MemArena {
unsigned char *curbuf;
int bufsize, cursize;
diff --git a/source/blender/blenlib/intern/arithb.c b/source/blender/blenlib/intern/arithb.c
index 49f5772c6c3..88838342046 100644
--- a/source/blender/blenlib/intern/arithb.c
+++ b/source/blender/blenlib/intern/arithb.c
@@ -44,6 +44,10 @@
#include <string.h>
#include <float.h>
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef __sun__
#include <strings.h>
#endif
diff --git a/source/blender/blenlib/intern/dynlib.c b/source/blender/blenlib/intern/dynlib.c
index c232be3c206..b1d19f46c38 100644
--- a/source/blender/blenlib/intern/dynlib.c
+++ b/source/blender/blenlib/intern/dynlib.c
@@ -30,9 +30,12 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#include <stdlib.h>
-
#include "../PIL_dynlib.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/*
* XXX, should use mallocN so we can see
* handle's not being released. fixme zr
diff --git a/source/blender/blenlib/intern/fileops.c b/source/blender/blenlib/intern/fileops.c
index 02f54e60df6..a7d8c9c0323 100644
--- a/source/blender/blenlib/intern/fileops.c
+++ b/source/blender/blenlib/intern/fileops.c
@@ -39,6 +39,10 @@
#include <string.h>
#include <stdio.h>
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef WIN32
#include "BLI_winstuff.h"
#else
diff --git a/source/blender/blenlib/intern/gsqueue.c b/source/blender/blenlib/intern/gsqueue.c
index eb49fe92cb1..fbbc42115d5 100644
--- a/source/blender/blenlib/intern/gsqueue.c
+++ b/source/blender/blenlib/intern/gsqueue.c
@@ -32,9 +32,12 @@
#include <string.h>
#include "MEM_guardedalloc.h"
-
#include "BLI_gsqueue.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
typedef struct _GSQueueElem GSQueueElem;
struct _GSQueueElem {
GSQueueElem *next;
diff --git a/source/blender/blenlib/intern/matrixops.c b/source/blender/blenlib/intern/matrixops.c
index f33596d803a..c95e0064155 100644
--- a/source/blender/blenlib/intern/matrixops.c
+++ b/source/blender/blenlib/intern/matrixops.c
@@ -41,6 +41,11 @@
#include "MTC_matrixops.h"
#include "MTC_vectorops.h"
/* ------------------------------------------------------------------------- */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef WIN32
#include "BLI_winstuff.h"
#endif
diff --git a/source/blender/blenlib/intern/noise.c b/source/blender/blenlib/intern/noise.c
index 124b520ed11..ca2cf44595f 100644
--- a/source/blender/blenlib/intern/noise.c
+++ b/source/blender/blenlib/intern/noise.c
@@ -35,6 +35,10 @@
#include <math.h>
#include "BLI_blenlib.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef _WIN32
#pragma warning (once : 4244) // "conversion from double to float"
#pragma warning (once : 4305) // "truncation from const double to float"
diff --git a/source/blender/blenlib/intern/psfont.c b/source/blender/blenlib/intern/psfont.c
index ea2525c1f90..4a04e40403c 100644
--- a/source/blender/blenlib/intern/psfont.c
+++ b/source/blender/blenlib/intern/psfont.c
@@ -46,6 +46,10 @@
#include "DNA_packedFile_types.h"
#include "DNA_curve_types.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/* ObjFnt types */
typedef struct chardesc {
diff --git a/source/blender/blenlib/intern/rand.c b/source/blender/blenlib/intern/rand.c
index bf29d57c2cf..e7c9ec1c864 100644
--- a/source/blender/blenlib/intern/rand.c
+++ b/source/blender/blenlib/intern/rand.c
@@ -32,6 +32,10 @@
#include "PIL_time.h"
#include "BLI_rand.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef WIN32
typedef unsigned __int64 r_uint64;
#else
diff --git a/source/blender/blenlib/intern/rct.c b/source/blender/blenlib/intern/rct.c
index 373edd1af5a..1b19a6b769d 100644
--- a/source/blender/blenlib/intern/rct.c
+++ b/source/blender/blenlib/intern/rct.c
@@ -41,6 +41,10 @@
#include "DNA_vec_types.h"
#include "BLI_blenlib.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
int BLI_rcti_is_empty(rcti * rect)
{
return ((rect->xmax<=rect->xmin) ||
diff --git a/source/blender/blenlib/intern/scanfill.c b/source/blender/blenlib/intern/scanfill.c
index a6a1771148f..153d24aaf99 100644
--- a/source/blender/blenlib/intern/scanfill.c
+++ b/source/blender/blenlib/intern/scanfill.c
@@ -46,6 +46,10 @@
#include "BLI_scanfill.h"
#include "BLI_callbacks.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/* callbacks for errors and interrupts and some goo */
static void (*BLI_localErrorCallBack)(char*) = NULL;
static int (*BLI_localInterruptCallBack)(void) = NULL;
diff --git a/source/blender/blenlib/intern/storage.c b/source/blender/blenlib/intern/storage.c
index 1f86fcbf54b..58b5607ded5 100644
--- a/source/blender/blenlib/intern/storage.c
+++ b/source/blender/blenlib/intern/storage.c
@@ -36,6 +36,10 @@
#include <stdio.h>
#include <stdlib.h> /* voorkomt dat je bij malloc type moet aangeven */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef WIN32
#include <windows.h>
diff --git a/source/blender/blenlib/intern/time.c b/source/blender/blenlib/intern/time.c
index 832a6c8b2e9..47abca10b36 100644
--- a/source/blender/blenlib/intern/time.c
+++ b/source/blender/blenlib/intern/time.c
@@ -31,6 +31,10 @@
*/
#include "PIL_time.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef WIN32
#include <windows.h>
diff --git a/source/blender/blenlib/intern/util.c b/source/blender/blenlib/intern/util.c
index f3a2d4f3970..abee9e3bad3 100644
--- a/source/blender/blenlib/intern/util.c
+++ b/source/blender/blenlib/intern/util.c
@@ -46,6 +46,10 @@
#include "BLI_util.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifndef WIN32
#include <unistd.h>
#else
diff --git a/source/blender/blenlib/intern/vectorops.c b/source/blender/blenlib/intern/vectorops.c
index 9314e7fca3e..ee4cabac1d3 100644
--- a/source/blender/blenlib/intern/vectorops.c
+++ b/source/blender/blenlib/intern/vectorops.c
@@ -44,6 +44,10 @@
#include "MTC_vectorops.h"
#include <math.h>
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
void MTC_diff3Int(int v1[3], int v2[3], int v3[3])
{
v1[0] = v2[0] - v3[0];
diff --git a/source/blender/blenlib/intern/winstuff.c b/source/blender/blenlib/intern/winstuff.c
index 91062297cda..a0fb005e992 100644
--- a/source/blender/blenlib/intern/winstuff.c
+++ b/source/blender/blenlib/intern/winstuff.c
@@ -31,6 +31,10 @@
* Windows-posix compatibility layer, windows-specific functions.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef WIN32
#include <stdlib.h>