Include removal gave problems with windows, ifdef some back in for windows only

This commit is contained in:
Campbell Barton 2014-05-01 07:21:08 +10:00
parent cb48c0ceea
commit af86b008b2
13 changed files with 43 additions and 1 deletions

View File

@ -63,6 +63,10 @@
#include <math.h>
#include <string.h>
#ifdef WIN32
# include "BLI_alloca.h"
#endif
/* number of layers to add when growing a CustomData object */
#define CUSTOMDATA_GROW 5

View File

@ -77,6 +77,10 @@
#include "MEM_guardedalloc.h"
#ifdef WIN32
# include "BLI_math_base.h" /* M_PI */
#endif
/* *************************************************** */
/* Old-Data Freeing Tools */

View File

@ -50,6 +50,8 @@
#include "GHOST_Path-api.h"
#ifdef WIN32
# include "MEM_guardedalloc.h"
# include "utf_winfunc.h"
# include "utfconv.h"
# include <io.h>

View File

@ -56,6 +56,10 @@
#include "BLI_utildefines.h"
#ifdef WIN32
# include "BLI_alloca.h"
#endif
#include "BLI_smallhash.h"
#include "BLI_strict_flags.h"

View File

@ -40,6 +40,10 @@
#include "BKE_editmesh.h"
#include "BKE_multires.h"
#ifdef WIN32
# include "BLI_alloca.h"
#endif
#include "intern/bmesh_private.h"
/* used as an extern, defined in bmesh.h */

View File

@ -55,6 +55,9 @@
#include "interface_intern.h"
#ifdef WIN32
# include "BLI_math_base.h" /* M_PI */
#endif
/* style + theme + layout-engine = UI */

View File

@ -68,6 +68,10 @@
#include "screen_intern.h"
#ifdef WIN32
# include "BLI_alloca.h"
#endif
extern void ui_draw_anti_tria(float x1, float y1, float x2, float y2, float x3, float y3); /* xxx temp */
/* general area and region code */

View File

@ -77,6 +77,10 @@
#include "outliner_intern.h"
#ifdef WIN32
# include "BLI_math_base.h" /* M_PI */
#endif
/* ********************************************************* */
/* Persistent Data */

View File

@ -57,6 +57,10 @@
#include "view3d_intern.h"
#ifdef WIN32
# include "BLI_math_base.h" /* M_PI */
#endif
/* ************************** copy paste ***************************** */
static int view3d_copybuffer_exec(bContext *C, wmOperator *op)

View File

@ -48,6 +48,7 @@
#include "MEM_guardedalloc.h"
#include "BLI_threads.h"
#include "BLI_utildefines.h"
static SpinLock refcounter_spin;

View File

@ -37,6 +37,10 @@
#include <Python.h>
#ifdef WIN32
# include "BLI_math_base.h" /* finite */
#endif
#include "MEM_guardedalloc.h"
#include "BLI_utildefines.h"

View File

@ -30,11 +30,12 @@
#include "RNA_types.h"
#include "bpy_rna.h"
#include "BKE_global.h"
#include "MEM_guardedalloc.h"
#include "BLI_utildefines.h"
#include "RNA_access.h"
#define USE_MATHUTILS

View File

@ -31,6 +31,9 @@
#include "BLI_utildefines.h"
#include "BLI_path_util.h"
#ifdef WIN32
# include "BLI_string.h" /* BLI_strcasecmp */
#endif
#include "bpy_traceback.h"