From 35747ee3d54765a05d7594ee52fdcd564464b18f Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Wed, 2 Apr 2014 11:43:54 +0200 Subject: 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 --- source/blender/blenloader/intern/writefile.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'source/blender/blenloader') 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 -#else +#ifdef WIN32 # include "winsock2.h" # include -# include // for getpid # include "BLI_winstuff.h" #endif -- cgit v1.2.3