Fix Windows compilation after https://codereview.scilab.org/#/c/11318/ 39/11339/1
Vincent COUVERT [Fri, 19 Apr 2013 10:06:45 +0000 (12:06 +0200)]
Change-Id: I83e64ddd14f0c72c3183af53782be8b40f6f5b30

scilab/modules/ui_data/src/jni/BrowseVar.hxx

index 6c2a782..c753a63 100644 (file)
@@ -46,10 +46,10 @@ knowledge of the CeCILL-B license and that you accept its terms.
 
 #include "GiwsException.hxx"
 
-        #if !defined(byte) | !defined(_MSC_VER) /* Defined anyway with Visual */
-                typedef signed char byte;
+        #if defined(_MSC_VER) /* Defined anyway with Visual */
+            #include <Windows.h>
         #else
-                #pragma message("Byte has been redefined elsewhere. Some problems can happen")
+            typedef signed char byte;
         #endif