Commit 33c069ae authored by Jon Griffiths's avatar Jon Griffiths Committed by Alexandre Julliard

Added some needed config.h entries.

parent d051a95b
...@@ -1240,7 +1240,7 @@ sub _generate_config_h { ...@@ -1240,7 +1240,7 @@ sub _generate_config_h {
print OUT "#define __WINE_CONFIG_H\n"; print OUT "#define __WINE_CONFIG_H\n";
print OUT "\n"; print OUT "\n";
my @headers = qw(direct.h io.h); my @headers = qw(direct.h fcntl.h io.h string.h process.h);
foreach my $header (@headers) { foreach my $header (@headers) {
$header =~ y/\.\//__/; $header =~ y/\.\//__/;
print OUT "#define HAVE_\U$header\E\n"; print OUT "#define HAVE_\U$header\E\n";
...@@ -1250,9 +1250,11 @@ sub _generate_config_h { ...@@ -1250,9 +1250,11 @@ sub _generate_config_h {
my @functions = qw( my @functions = qw(
_alldiv _allmul _allrem _aulldiv _aullrem _alldiv _allmul _allrem _aulldiv _aullrem
_access _chdir _close _lseek _mkdir _open _pclose _popen _read _rmdir _write _stat _access _chdir _close _lseek _mkdir _open _pclose _popen _read _rmdir _write _stat
_snprintf _stricmp _strnicmp _vsnprintf _wcsicmp wcslen _snprintf _spawnvp _stricmp _strnicmp _vsnprintf _wcsicmp
ecvt fcvt gcvt ecvt fcvt gcvt
memmove
strerror strerror
wcslen
); );
foreach my $function (@functions) { foreach my $function (@functions) {
print OUT "#define HAVE_\U$function\E 1\n"; print OUT "#define HAVE_\U$function\E 1\n";
...@@ -1275,6 +1277,14 @@ sub _generate_config_h { ...@@ -1275,6 +1277,14 @@ sub _generate_config_h {
print OUT "#define __ASM_NAME(name) name\n"; print OUT "#define __ASM_NAME(name) name\n";
print OUT "\n"; print OUT "\n";
print OUT "/* Define to the assembler keyword used to specify a word value */";
print OUT "define __ASM_SHORT \".short\"";
print OUT "\n";
print OUT "/* Define to the assembler keyword used to specify an ASCII string */";
print OUT "#define __ASM_STRING \".string\"";
print OUT "\n";
print OUT "/* Define to the address where bug reports for this package should be sent. */\n"; print OUT "/* Define to the address where bug reports for this package should be sent. */\n";
print OUT "#define PACKAGE_BUGREPORT \"\"\n"; print OUT "#define PACKAGE_BUGREPORT \"\"\n";
print OUT "\n"; print OUT "\n";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment