e32tools/e32lib/setcap/setcap.h
changeset 590 360bd6b35136
parent 0 044383f39525
--- a/e32tools/e32lib/setcap/setcap.h	Wed Jun 16 16:51:40 2010 +0300
+++ b/e32tools/e32lib/setcap/setcap.h	Wed Jun 23 16:56:47 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>