Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2014-04-02 13:43:54 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2014-04-02 13:59:43 +0400
commit35747ee3d54765a05d7594ee52fdcd564464b18f (patch)
tree777d6741536889539e3a6516394881c95c5fef08 /source/blender/blenloader
parentcb7cfd3ab6be1cfba96cb2070ac60d224126f1ea (diff)
Rename "BLI_cpu.h" to "BLI_system.h" and add to it BLI_getpid() helper.
There is not much sense to have a whole BLI file just to check SSE2 on CPUs... So idea is to rename it to more generic "BLI_system", and add to it more system-related utils, like e.g. an include helper for getpid(), which allows to hide unix/windows internals from rest of the code... Reviewers: campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D439
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/writefile.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/source/blender/blenloader/intern/writefile.c b/source/blender/blenloader/intern/writefile.c
index ffd1d6d1be1..6c4fac60646 100644
--- a/source/blender/blenloader/intern/writefile.c
+++ b/source/blender/blenloader/intern/writefile.c
@@ -81,12 +81,9 @@
#include "zlib.h"
-#ifndef WIN32
-# include <unistd.h>
-#else
+#ifdef WIN32
# include "winsock2.h"
# include <io.h>
-# include <process.h> // for getpid
# include "BLI_winstuff.h"
#endif