[NETID] Fix validation of host and domain names and show proper error messages.
[reactos.git] / sdk / include / xdk / ntbasedef.h
index 7a1cded..a7d0935 100644 (file)
@@ -343,7 +343,7 @@ typedef void *HANDLE, **PHANDLE;
  typedef char CHAR;
  typedef short SHORT;
 
- #if defined(__ROS_LONG64__) && !defined(_M_AMD64)
+ #if defined(__ROS_LONG64__)
   typedef int LONG;
  #else
   typedef long LONG;
@@ -761,7 +761,7 @@ $endif(_WINNT_)
 #define MAXLONGLONG (0x7fffffffffffffffLL)
 
 /* 32 to 64 bit multiplication. GCC is really bad at optimizing the native math */
-#if defined(_M_IX86) && defined(__GNUC__) && \
+#if defined(_M_IX86) && !defined(_M_ARM) && !defined(_M_ARM64) && \
     !defined(MIDL_PASS)&& !defined(RC_INVOKED) && !defined(_M_CEE_PURE)
  #define Int32x32To64(a,b) __emul(a,b)
  #define UInt32x32To64(a,b) __emulu(a,b)
@@ -919,6 +919,7 @@ $endif(_WINNT_)
 #define PRODUCT_CORE_SINGLELANGUAGE                 0x00000064
 #define PRODUCT_CORE                                0x00000065
 #define PRODUCT_PROFESSIONAL_WMC                    0x00000067
+#define PRODUCT_ENTERPRISE_S_N_EVALUATION           0x00000082
 #define PRODUCT_UNLICENSED                          0xABCDABCD
 
 /* LangID and NLS */