summaryrefslogtreecommitdiff
path: root/version.rc
diff options
context:
space:
mode:
Diffstat (limited to 'version.rc')
-rw-r--r--version.rc35
1 files changed, 20 insertions, 15 deletions
diff --git a/version.rc b/version.rc
index f169177..1317925 100644
--- a/version.rc
+++ b/version.rc
@@ -41,46 +41,52 @@
* If using the default (no __CLEANUP_* defined), pthread.h will define it
* as __CLEANUP_C.
*/
+#ifdef _WIN64
+# define PTW32_ARCH "64 bit"
+#else
+# define PTW32_ARCH "32 bit"
+#endif
+
#ifdef PTW32_RC_MSC
# if defined(__CLEANUP_C)
# define PTW32_VERSIONINFO_NAME "pthreadVC\0"
-# define PTW32_VERSIONINFO_COMMENT "MS C build -- longjmp thread exiting\0"
+# define PTW32_VERSIONINFO_DESCRIPTION "MS C " PTW32_ARCH "\0"
# elif defined(__CLEANUP_CXX)
# define PTW32_VERSIONINFO_NAME "pthreadVCE\0"
-# define PTW32_VERSIONINFO_COMMENT "MS C++ build -- C++ exception thread exiting\0"
+# define PTW32_VERSIONINFO_DESCRIPTION "MS C++ " PTW32_ARCH "\0"
# elif defined(__CLEANUP_SEH)
# define PTW32_VERSIONINFO_NAME "pthreadVSE\0"
-# define PTW32_VERSIONINFO_COMMENT "MS C build -- SEH exception thread exiting\0"
+# define PTW32_VERSIONINFO_DESCRIPTION "MS C SEH " PTW32_ARCH "\0"
# else
# error Resource compiler doesn't know which cleanup style you're using - see version.rc
# endif
#elif defined(__GNUC__)
# if defined(__CLEANUP_C)
# define PTW32_VERSIONINFO_NAME "pthreadGC\0"
-# define PTW32_VERSIONINFO_COMMENT "GNU C build -- longjmp thread exiting\0"
+# define PTW32_VERSIONINFO_DESCRIPTION "GNU C " PTW32_ARCH "\0"
# elif defined(__CLEANUP_CXX)
# define PTW32_VERSIONINFO_NAME "pthreadGCE\0"
-# define PTW32_VERSIONINFO_COMMENT "GNU C++ build -- C++ exception thread exiting\0"
+# define PTW32_VERSIONINFO_DESCRIPTION "GNU C++ " PTW32_ARCH "\0"
# else
# error Resource compiler doesn't know which cleanup style you're using - see version.rc
# endif
#elif defined(__BORLANDC__)
# if defined(__CLEANUP_C)
# define PTW32_VERSIONINFO_NAME "pthreadBC\0"
-# define PTW32_VERSIONINFO_COMMENT "BORLAND C build -- longjmp thread exiting\0"
+# define PTW32_VERSIONINFO_DESCRIPTION "BORLAND C " PTW32_ARCH "\0"
# elif defined(__CLEANUP_CXX)
# define PTW32_VERSIONINFO_NAME "pthreadBCE\0"
-# define PTW32_VERSIONINFO_COMMENT "BORLAND C++ build -- C++ exception thread exiting\0"
+# define PTW32_VERSIONINFO_DESCRIPTION "BORLAND C++ " PTW32_ARCH "\0"
# else
# error Resource compiler doesn't know which cleanup style you're using - see version.rc
# endif
#elif defined(__WATCOMC__)
# if defined(__CLEANUP_C)
# define PTW32_VERSIONINFO_NAME "pthreadWC\0"
-# define PTW32_VERSIONINFO_COMMENT "WATCOM C build -- longjmp thread exiting\0"
+# define PTW32_VERSIONINFO_DESCRIPTION "WATCOM C " PTW32_ARCH "\0"
# elif defined(__CLEANUP_CXX)
# define PTW32_VERSIONINFO_NAME "pthreadWCE\0"
-# define PTW32_VERSIONINFO_COMMENT "WATCOM C++ build -- C++ exception thread exiting\0"
+# define PTW32_VERSIONINFO_DESCRIPTION "WATCOM C++ " PTW32_ARCH "\0"
# else
# error Resource compiler doesn't know which cleanup style you're using - see version.rc
# endif
@@ -101,16 +107,15 @@ BEGIN
BEGIN
BLOCK "040904b0"
BEGIN
- VALUE "FileDescription", "POSIX Threads for Windows Library\0"
+ VALUE "ProductName", "POSIX Threads for Windows LPGL\0"
VALUE "ProductVersion", PTW32_VERSION_STRING
VALUE "FileVersion", PTW32_VERSION_STRING
+ VALUE "FileDescription", PTW32_VERSIONINFO_DESCRIPTION
VALUE "InternalName", PTW32_VERSIONINFO_NAME
VALUE "OriginalFilename", PTW32_VERSIONINFO_NAME
- VALUE "CompanyName", "Open Source Software community project\0"
- VALUE "LegalCopyright", "Copyright (C) Project contributors 1998-2011\0"
- VALUE "Licence", "LGPL\0"
- VALUE "Info", "http://sourceware.org/pthreads-win32/\0"
- VALUE "Comment", PTW32_VERSIONINFO_COMMENT
+ VALUE "CompanyName", "Open Source Software community LGPL\0"
+ VALUE "LegalCopyright", "Copyright (C) Project contributors 2011\0"
+ VALUE "Comments", "http://sourceware.org/pthreads-win32/\0"
END
END
BLOCK "VarFileInfo"