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:
@@ -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
|
||||
|
@@ -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 */
|
||||
|
@@ -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 */
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
||||
|
@@ -36,6 +36,10 @@
|
||||
#ifndef BLI_GSQUEUE_H
|
||||
#define BLI_GSQUEUE_H
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
typedef struct _GSQueue GSQueue;
|
||||
|
||||
/**
|
||||
|
@@ -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);
|
||||
|
@@ -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
|
||||
|
@@ -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);
|
||||
|
||||
|
@@ -38,6 +38,10 @@
|
||||
|
||||
#include <sys/stat.h>
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#define HDRSIZE 512
|
||||
#define NAMSIZE 200
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -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>
|
||||
|
||||
|
@@ -35,6 +35,10 @@
|
||||
#ifndef MATRIXOPS_H
|
||||
#define MATRIXOPS_H
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
@@ -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]);
|
||||
|
@@ -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*
|
||||
|
@@ -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
|
||||
|
@@ -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);
|
||||
|
@@ -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 :( */
|
||||
|
@@ -37,6 +37,9 @@
|
||||
#ifndef BLI_SCANFILL_H
|
||||
#define BLI_SCANFILL_H
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -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);
|
||||
|
@@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user