RPA Toolkit
Fixed windows build - 2
authorMartin Stoilov <martin@rpasearch.com>
Wed, 22 Feb 2012 10:32:20 +0000 (02:32 -0800)
committerMartin Stoilov <martin@rpasearch.com>
Wed, 22 Feb 2012 10:32:20 +0000 (02:32 -0800)
rex/rexdfa.h

index 4299fd8..72d30be 100644 (file)
@@ -35,8 +35,12 @@ extern "C" {
 #endif
 
 #ifndef REX_USERDATA_TYPE
+#ifdef WIN32
 typedef size_t rexuserdata_t;
 #else
+typedef unsigned long rexuserdata_t;
+#endif
+#else
 typedef REX_USERDATA_TYPE rexuserdata_t;
 #endif