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:
@@ -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;
|
||||
|
@@ -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[]= {
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
@@ -44,6 +44,10 @@
|
||||
#include <string.h>
|
||||
#include <float.h>
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#ifdef __sun__
|
||||
#include <strings.h>
|
||||
#endif
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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;
|
||||
|
@@ -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
|
||||
|
@@ -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"
|
||||
|
@@ -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 {
|
||||
|
@@ -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
|
||||
|
@@ -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) ||
|
||||
|
@@ -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;
|
||||
|
@@ -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>
|
||||
|
@@ -31,6 +31,10 @@
|
||||
*/
|
||||
#include "PIL_time.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
|
||||
#include <windows.h>
|
||||
|
@@ -46,6 +46,10 @@
|
||||
|
||||
#include "BLI_util.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#ifndef WIN32
|
||||
#include <unistd.h>
|
||||
#else
|
||||
|
@@ -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];
|
||||
|
@@ -31,6 +31,10 @@
|
||||
* Windows-posix compatibility layer, windows-specific functions.
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
|
||||
#include <stdlib.h>
|
||||
|
Reference in New Issue
Block a user