ntdll: Export the libwine version functions from ntdll too.
authorAlexandre Julliard <julliard@winehq.org>
Wed, 26 Mar 2008 18:41:54 +0000 (19:41 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 26 Mar 2008 22:38:36 +0000 (23:38 +0100)
dlls/ntdll/misc.c
dlls/ntdll/ntdll.spec

index d5e8c1d99fb6feb473ccb381043cca596354272d..218c2897bd31c86b9c688e0c8ef240955832e0e5 100644 (file)
@@ -23,6 +23,7 @@
 #include <time.h>
 #include <math.h>
 
+#include "wine/library.h"
 #include "wine/debug.h"
 #include "ntdll_misc.h"
 
@@ -138,6 +139,22 @@ double CDECL NTDLL__CIpow(double x,double y)
 #endif /* !defined(__i386__) */
 
 
+/*********************************************************************
+ *                  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.@)
  */
index 0c9bfd4a5caae5318a0582c4f9128c776a2fd170..2d27d61ae6d79f34d36d0167ada002836eb0bec1 100644 (file)
 @ 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)