Did all of the .h's in source

(adding)
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

also the Makefile.in's were from previous patch adding
the system depend stuff to configure.ac

Kent
--
mein@cs.umn.edu
This commit is contained in:
2002-11-25 11:16:17 +00:00
parent 3f2f1571e5
commit b9a19f1ea7
555 changed files with 2210 additions and 29 deletions

View File

@@ -40,6 +40,10 @@
#ifndef BLI_ARITHB_H
#define BLI_ARITHB_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef __cplusplus
extern "C" {
#endif

View File

@@ -65,6 +65,10 @@
#ifndef BLI_BLENLIB_H
#define BLI_BLENLIB_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "DNA_listBase.h" /* braindamage for the masses... needed
because fillvlakbase and fillvertbase are
used outside */

View File

@@ -41,6 +41,10 @@
#ifndef BLI_DYNSTR_H
#define BLI_DYNSTR_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct DynStr;
/** The abstract DynStr type */

View File

@@ -38,6 +38,10 @@
#ifndef BLI_EDITVERT_H
#define BLI_EDITVERT_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
typedef struct EditVert
{
struct EditVert *next, *prev, *vn;

View File

@@ -35,6 +35,10 @@
#ifndef BLI_GHASH_H
#define BLI_GHASH_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct GHash;
typedef struct GHash GHash;

View File

@@ -36,6 +36,10 @@
#ifndef BLI_GSQUEUE_H
#define BLI_GSQUEUE_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
typedef struct _GSQueue GSQueue;
/**

View File

@@ -36,6 +36,10 @@
#ifndef BLI_LINKLIST_H
#define BLI_LINKLIST_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct MemArena;
typedef void (*LinkNodeFreeFP)(void *link);

View File

@@ -40,6 +40,10 @@
#ifndef BLI_MEMARENA_H
#define BLI_MEMARENA_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* A reasonable standard buffer size, big
* enough to not cause much internal fragmentation,
* small enough not to waste resources

View File

@@ -36,6 +36,10 @@
#ifndef BLI_RAND_H
#define BLI_RAND_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/** Seed the random number generator */
void BLI_srand (unsigned int seed);

View File

@@ -38,6 +38,10 @@
#include <sys/stat.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#define HDRSIZE 512
#define NAMSIZE 200

View File

@@ -34,6 +34,10 @@
*
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifndef BLI_VFONTDATA_H
#define BLI_VFONTDATA_H

View File

@@ -33,6 +33,10 @@
*/
#pragma warning(once: 4761 4305 4244 4018)
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#define WIN32_LEAN_AND_MEAN
#include <windows.h>

View File

@@ -35,6 +35,10 @@
#ifndef MATRIXOPS_H
#define MATRIXOPS_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef __cplusplus
extern "C" {
#endif

View File

@@ -35,6 +35,10 @@
#ifndef VECTOROPS_H
#define VECTOROPS_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* ------------------------------------------------------------------------- */
void MTC_diff3Int(int v1[3], int v2[3], int v3[3]);

View File

@@ -32,6 +32,10 @@
#ifndef __PIL_DYNLIB_H__
#define __PIL_DYNLIB_H__
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
typedef struct PILdynlib PILdynlib;
PILdynlib*

View File

@@ -36,6 +36,10 @@
#ifndef PIL_TIME_H
#define PIL_TIME_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef __cplusplus
extern "C" {
#endif

View File

@@ -37,6 +37,10 @@
#ifndef BLI_CALLBACKS_H
#define BLI_CALLBACKS_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
// This is blenlib internal only
void callLocalErrorCallBack(char* msg);
int callLocalInterruptCallBack(void);

View File

@@ -39,6 +39,10 @@
#ifndef BLI_FILEOPS_H
#define BLI_FILEOPS_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
char *first_slash(char *string);
/* only for the sane unix world: direct calls to system functions :( */

View File

@@ -37,6 +37,9 @@
#ifndef BLI_SCANFILL_H
#define BLI_SCANFILL_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#endif

View File

@@ -31,6 +31,10 @@
#ifndef BLI_STORAGE_H
#define BLI_STORAGE_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "BLI_storage_types.h"
void BLI_adddirstrings(void);

View File

@@ -36,6 +36,10 @@
#ifndef BLI_UTIL_H
#define BLI_UTIL_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#define mallocstructN(x,y,name) (x*)MEM_mallocN((y)* sizeof(x),name)
#define callocstructN(x,y,name) (x*)MEM_callocN((y)* sizeof(x),name)