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
This commit is contained in:
2002-11-25 12:02:15 +00:00
parent b9a19f1ea7
commit d0e346d544
251 changed files with 1028 additions and 79 deletions

View File

@@ -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;

View File

@@ -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[]= {

View File

@@ -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;

View File

@@ -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;

View File

@@ -44,6 +44,10 @@
#include <string.h>
#include <float.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef __sun__
#include <strings.h>
#endif

View File

@@ -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

View File

@@ -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

View File

@@ -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;

View File

@@ -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

View File

@@ -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"

View File

@@ -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 {

View File

@@ -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

View File

@@ -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) ||

View File

@@ -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;

View File

@@ -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>

View File

@@ -31,6 +31,10 @@
*/
#include "PIL_time.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef WIN32
#include <windows.h>

View File

@@ -46,6 +46,10 @@
#include "BLI_util.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifndef WIN32
#include <unistd.h>
#else

View File

@@ -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];

View File

@@ -31,6 +31,10 @@
* Windows-posix compatibility layer, windows-specific functions.
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef WIN32
#include <stdlib.h>