OSDN Git Service

Package 0.44-1-mingw32 fixes
authorCharles Wilson <cwilso11@users.sourceforge.net>
Tue, 15 Sep 2009 05:47:54 +0000 (05:47 +0000)
committerCharles Wilson <cwilso11@users.sourceforge.net>
Tue, 15 Sep 2009 05:47:54 +0000 (05:47 +0000)
ChangeLog
Makefile
pexports.c
pexports.h

index d96bf6a..9224ad1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
+2009-09-15  Charles Wilson  <cwilso11@users.sourceforge.net>
+
+       Package 0.44-1-mingw32 fixes.
+       * pexports.c (main): Fix typo in usage statement.
+       * pexports.h: Ensure ULONGLONG is defined.
+       * Makefile: Force use of flex and bison, not lex and yacc.
+
 2008-08-31  Tor Lillqvist  <tml@novell.com>
 
+       Release 0.44. Add support for 64-bit executables.
        * hlex.l
        * hparse.y
        * pexports.h
@@ -13,6 +21,7 @@
        * Makefile: New.
        * pe.h: Not needed, removed.
        * hparse.h: Remove generated file.
+       * Makefile.am: Removed.
 
 2002-11-08  Luke Dunstan  <infidel@users.sourceforge.net>
 
index 80428cc..f67a1db 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,6 @@
 CC=gcc -Wall
+LEX=flex
+YACC=bison
 
 DISTFILES=README COPYING ChangeLog Makefile hlex.l hparse.y pexports.h pexports.c str_tree.c str_tree.h
 
index ee937ca..1c3a6f6 100644 (file)
@@ -146,7 +146,7 @@ main(int argc, char *argv[])
              "This program is free software; you may redistribute it under the terms of\n"
              "the GNU General Public License.  This program has absolutely no warranty.\n"
 
-             "\nUsage: %s [-v] [-n] [-h header] [-p preprocessor] dll\n"
+             "\nUsage: %s [-v] [-o] [-h header] [-p preprocessor] dll\n"
              "  -h\tparse header\n"
              "  -o\tprint ordinals\n"
              "  -p\tset preprocessor program\n"
index 0a9abde..4563a44 100644 (file)
@@ -26,7 +26,11 @@ typedef unsigned int DWORD;
 typedef unsigned char BYTE;
 typedef void* PVOID;
 typedef long LONG;
+#if defined(__MINGW32__) || defined(_MSC_VER)
 typedef unsigned __int64 ULONGLONG;
+#else
+typedef unsigned long long ULONGLONG;
+#endif
 typedef int BOOL;
 typedef void* HMODULE;
 #ifdef _WIN64