2008-01-15 21:54:49 +00:00
|
|
|
Index: hash.c
|
|
|
|
===================================================================
|
2008-02-07 17:27:25 +00:00
|
|
|
--- hash.c (revision 32187)
|
2008-01-15 21:54:49 +00:00
|
|
|
+++ hash.c (working copy)
|
|
|
|
@@ -21,9 +21,7 @@
|
2008-01-11 16:32:28 +00:00
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdarg.h>
|
|
|
|
|
|
|
|
-#include "windef.h"
|
|
|
|
-#include "winbase.h"
|
|
|
|
-#include "winnls.h"
|
|
|
|
+#include <host/nls.h>
|
|
|
|
|
|
|
|
#include "hash.h"
|
|
|
|
|
2008-01-15 21:54:49 +00:00
|
|
|
@@ -535,6 +533,7 @@
|
2008-01-07 14:23:35 +00:00
|
|
|
case LANG_SWEDISH: case LANG_SYRIAC: case LANG_TAMIL:
|
|
|
|
case LANG_TATAR: case LANG_TELUGU: case LANG_THAI:
|
|
|
|
case LANG_UKRAINIAN: case LANG_URDU: case LANG_UZBEK:
|
|
|
|
+#ifndef __REACTOS__
|
|
|
|
case LANG_VIETNAMESE: case LANG_GAELIC: case LANG_MALTESE:
|
|
|
|
case LANG_TAJIK: case LANG_ROMANSH: case LANG_IRISH:
|
|
|
|
case LANG_SAMI: case LANG_UPPER_SORBIAN: case LANG_SUTU:
|
2008-01-15 21:54:49 +00:00
|
|
|
@@ -542,6 +541,12 @@
|
2008-01-07 14:23:35 +00:00
|
|
|
case LANG_XHOSA: case LANG_ZULU: case LANG_ESPERANTO:
|
|
|
|
case LANG_WALON: case LANG_CORNISH: case LANG_WELSH:
|
|
|
|
case LANG_BRETON:
|
|
|
|
+#else
|
|
|
|
+ case LANG_VIETNAMESE: case LANG_MALTESE: case LANG_IRISH:
|
|
|
|
+ case LANG_SAMI: case LANG_UPPER_SORBIAN: case LANG_TSWANA:
|
|
|
|
+ case LANG_XHOSA: case LANG_ZULU: case LANG_WELSH:
|
|
|
|
+ case LANG_BRETON:
|
|
|
|
+#endif
|
|
|
|
nOffset = 16;
|
|
|
|
pnLookup = Lookup_16;
|
|
|
|
break;
|
2008-01-15 21:54:49 +00:00
|
|
|
Index: server.c
|
|
|
|
===================================================================
|
2008-02-07 17:27:25 +00:00
|
|
|
--- server.c (revision 32187)
|
2008-01-15 21:54:49 +00:00
|
|
|
+++ server.c (working copy)
|
|
|
|
@@ -390,6 +390,7 @@
|
2008-01-07 14:23:35 +00:00
|
|
|
print_server("/*** Autogenerated by WIDL %s from %s - Do not edit ***/\n", PACKAGE_VERSION, input_name);
|
|
|
|
print_server("#include <string.h>\n");
|
|
|
|
fprintf(server, "\n");
|
|
|
|
+ print_server("#define _SEH_NO_NATIVE_NLG\n");
|
|
|
|
print_server("#include \"%s\"\n", header_name);
|
|
|
|
fprintf(server, "\n");
|
|
|
|
}
|
2008-01-15 21:54:49 +00:00
|
|
|
Index: typelib.c
|
|
|
|
===================================================================
|
2008-02-07 17:27:25 +00:00
|
|
|
--- typelib.c (revision 32187)
|
2008-01-15 21:54:49 +00:00
|
|
|
+++ typelib.c (working copy)
|
|
|
|
@@ -35,8 +35,7 @@
|
2008-01-11 16:32:28 +00:00
|
|
|
#define NONAMELESSUNION
|
|
|
|
#define NONAMELESSSTRUCT
|
|
|
|
|
|
|
|
-#include "windef.h"
|
|
|
|
-#include "winbase.h"
|
|
|
|
+#include <host/typedefs.h>
|
|
|
|
|
|
|
|
#include "widl.h"
|
|
|
|
#include "utils.h"
|
2008-02-10 19:47:42 +00:00
|
|
|
Index: widl.c
|
|
|
|
===================================================================
|
|
|
|
--- widl.c (revision 32187)
|
|
|
|
+++ widl.c (working copy)
|
|
|
|
@@ -174,7 +174,7 @@
|
|
|
|
token = xstrdup(name);
|
|
|
|
for (i=0; token[i]; i++) {
|
|
|
|
if (!isalnum(token[i])) token[i] = '_';
|
|
|
|
- else token[i] = toupper(token[i]);
|
|
|
|
+ else token[i] = tolower(token[i]);
|
|
|
|
}
|
|
|
|
return token;
|
|
|
|
}
|
|
|
|
@@ -561,8 +561,8 @@
|
|
|
|
fprintf(header, "/*** Autogenerated by WIDL %s from %s - Do not edit ***/\n", PACKAGE_VERSION, input_name);
|
|
|
|
fprintf(header, "#include <rpc.h>\n" );
|
|
|
|
fprintf(header, "#include <rpcndr.h>\n\n" );
|
|
|
|
- fprintf(header, "#ifndef __WIDL_%s\n", header_token);
|
|
|
|
- fprintf(header, "#define __WIDL_%s\n", header_token);
|
|
|
|
+ fprintf(header, "#ifndef __%s__\n", header_token);
|
|
|
|
+ fprintf(header, "#define __%s__\n", header_token);
|
|
|
|
start_cplusplus_guard(header);
|
|
|
|
}
|
|
|
|
|
|
|
|
@@ -606,7 +606,7 @@
|
|
|
|
fprintf(header, "/* End additional prototypes */\n");
|
|
|
|
fprintf(header, "\n");
|
|
|
|
end_cplusplus_guard(header);
|
|
|
|
- fprintf(header, "#endif /* __WIDL_%s */\n", header_token);
|
|
|
|
+ fprintf(header, "#endif /* __%s__ */\n", header_token);
|
|
|
|
fclose(header);
|
|
|
|
}
|
2008-01-15 21:54:49 +00:00
|
|
|
Index: widltypes.h
|
|
|
|
===================================================================
|
2008-02-07 17:27:25 +00:00
|
|
|
--- widltypes.h (revision 32187)
|
2008-01-15 21:54:49 +00:00
|
|
|
+++ widltypes.h (working copy)
|
|
|
|
@@ -21,6 +21,13 @@
|
2008-01-11 16:32:28 +00:00
|
|
|
#ifndef __WIDL_WIDLTYPES_H
|
|
|
|
#define __WIDL_WIDLTYPES_H
|
|
|
|
|
|
|
|
+#define S_OK 0
|
|
|
|
+#define S_FALSE 1
|
|
|
|
+#define E_OUTOFMEMORY ((HRESULT)0x8007000EL)
|
|
|
|
+#define TYPE_E_IOERROR ((HRESULT)0x80028CA2L)
|
|
|
|
+
|
|
|
|
+#define max(a, b) ((a) > (b) ? a : b)
|
|
|
|
+
|
|
|
|
#include <stdarg.h>
|
|
|
|
#include "guiddef.h"
|
|
|
|
#include "wine/rpcfc.h"
|
2008-09-21 19:57:05 +00:00
|
|
|
@@ -38,7 +38,9 @@
|
|
|
|
typedef GUID UUID;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
+#ifndef TRUE
|
|
|
|
#define TRUE 1
|
|
|
|
+#endif
|
|
|
|
#define FALSE 0
|
|
|
|
|
|
|
|
typedef struct _attr_t attr_t;
|
2008-01-15 21:54:49 +00:00
|
|
|
Index: write_msft.c
|
|
|
|
===================================================================
|
2008-02-07 17:27:25 +00:00
|
|
|
--- write_msft.c (revision 32187)
|
2008-01-15 21:54:49 +00:00
|
|
|
+++ write_msft.c (working copy)
|
|
|
|
@@ -40,10 +40,8 @@
|
2008-01-11 16:32:28 +00:00
|
|
|
#define NONAMELESSUNION
|
|
|
|
#define NONAMELESSSTRUCT
|
|
|
|
|
|
|
|
-#include "winerror.h"
|
|
|
|
-#include "windef.h"
|
|
|
|
-#include "winbase.h"
|
|
|
|
-#include "winnls.h"
|
|
|
|
+#include <host/typedefs.h>
|
|
|
|
+#include <host/nls.h>
|
|
|
|
|
|
|
|
#include "widltypes.h"
|
|
|
|
#include "typelib.h"
|