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:
authorCampbell Barton <ideasman42@gmail.com>2012-04-12 06:37:28 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-04-12 06:37:28 +0400
commit8fb067af93cfd2c64968e1919d75a323c8e01531 (patch)
treedd9679cf50ab5227e6870b3a650ec9b5a37257c6 /intern/utfconv/utf_winfunc.h
parentcc1259178b95d084a7ca9e83c90ef0ab97b7fa86 (diff)
code cleanup: avoid confusion with utfconv lib - was configuring this windows only lib on non windows platforms (scons only).
Diffstat (limited to 'intern/utfconv/utf_winfunc.h')
-rw-r--r--intern/utfconv/utf_winfunc.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/intern/utfconv/utf_winfunc.h b/intern/utfconv/utf_winfunc.h
index a189fc52742..e92e7953cfc 100644
--- a/intern/utfconv/utf_winfunc.h
+++ b/intern/utfconv/utf_winfunc.h
@@ -15,7 +15,7 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
- * The Original Code is Copyright (C) 2009 Blender Foundation.
+ * The Original Code is Copyright (C) 2012 Blender Foundation.
* All rights reserved.
*
* Contributor(s): Alexandr Kuznetsov, Andrea Weikert
@@ -23,8 +23,9 @@
* ***** END GPL LICENSE BLOCK *****
*/
-#ifdef WIN32
-
+#ifndef WIN32
+# error "This file can only compile on windows"
+#endif
#include "utfconv.h"
#include <stdio.h>
@@ -40,5 +41,3 @@ int uput_getenv(const char *varname, char * value, size_t buffsize);
int uputenv(const char *name, const char *value);
int umkdir(const char *pathname);
-
-#endif