Alexandre Julliard : ntdll: Export the libwine version functions from ntdll too.
Alexandre Julliard
julliard at winehq.org
Thu Mar 27 07:21:51 CDT 2008
Module: wine
Branch: master
Commit: ccd0d6259d07fa08926ff22c9517c1c8db3574b2
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ccd0d6259d07fa08926ff22c9517c1c8db3574b2
Author: Alexandre Julliard <julliard at winehq.org>
Date: Wed Mar 26 19:41:54 2008 +0100
ntdll: Export the libwine version functions from ntdll too.
---
dlls/ntdll/misc.c | 17 +++++++++++++++++
dlls/ntdll/ntdll.spec | 4 ++++
2 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/dlls/ntdll/misc.c b/dlls/ntdll/misc.c
index d5e8c1d..218c289 100644
--- a/dlls/ntdll/misc.c
+++ b/dlls/ntdll/misc.c
@@ -23,6 +23,7 @@
#include <time.h>
#include <math.h>
+#include "wine/library.h"
#include "wine/debug.h"
#include "ntdll_misc.h"
@@ -139,6 +140,22 @@ double CDECL NTDLL__CIpow(double x,double y)
/*********************************************************************
+ * wine_get_version (NTDLL.@)
+ */
+const char * CDECL NTDLL_wine_get_version(void)
+{
+ return wine_get_version();
+}
+
+/*********************************************************************
+ * wine_get_build_id (NTDLL.@)
+ */
+const char * CDECL NTDLL_wine_get_build_id(void)
+{
+ return wine_get_build_id();
+}
+
+/*********************************************************************
* abs (NTDLL.@)
*/
int CDECL NTDLL_abs( int i )
diff --git a/dlls/ntdll/ntdll.spec b/dlls/ntdll/ntdll.spec
index 0c9bfd4..2d27d61 100644
--- a/dlls/ntdll/ntdll.spec
+++ b/dlls/ntdll/ntdll.spec
@@ -1382,6 +1382,10 @@
@ cdecl wine_server_send_fd(long)
@ cdecl __wine_make_process_system()
+# Version
+@ cdecl wine_get_version() NTDLL_wine_get_version
+@ cdecl wine_get_build_id() NTDLL_wine_get_build_id
+
# Codepages
@ cdecl __wine_init_codepages(ptr ptr ptr)
More information about the wine-cvs
mailing list