e32tools/e32lib/setcap/setcap.h
changeset 620 ad8ffc8e1982
parent 590 360bd6b35136
--- a/e32tools/e32lib/setcap/setcap.h	Thu Jun 10 13:50:24 2010 +0800
+++ b/e32tools/e32lib/setcap/setcap.h	Mon Jul 26 11:04:29 2010 +0800
@@ -17,8 +17,11 @@
 
 #ifndef __SETCAP_H__
 // We need to build for both TOOLS2 and TOOLS for the moment
-#if !defined(__TOOLS2_LINUX__)
+#ifdef WIN32
 #include <e32wins.h>
+#ifdef _STLP_INTERNAL_WINDOWS_H
+#define __INTERLOCKED_DECLARED
+#endif
 #include <emulator.h>
 #endif
 #include <stdlib.h>