summaryrefslogtreecommitdiffstats
path: root/private/crt32/misc/mbval.c
diff options
context:
space:
mode:
authorAdam <you@example.com>2020-05-17 05:51:50 +0200
committerAdam <you@example.com>2020-05-17 05:51:50 +0200
commite611b132f9b8abe35b362e5870b74bce94a1e58e (patch)
treea5781d2ec0e085eeca33cf350cf878f2efea6fe5 /private/crt32/misc/mbval.c
downloadNT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.gz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.bz2
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.lz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.xz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.zst
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.zip
Diffstat (limited to 'private/crt32/misc/mbval.c')
-rw-r--r--private/crt32/misc/mbval.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/private/crt32/misc/mbval.c b/private/crt32/misc/mbval.c
new file mode 100644
index 000000000..aa3ad3a16
--- /dev/null
+++ b/private/crt32/misc/mbval.c
@@ -0,0 +1,22 @@
+/***
+*mbval.c - definition of __invalid_mb_chars variable
+*
+* Copyright (c) 1993, Microsoft Corporation. All rights reserved.
+*
+*Purpose:
+* defines __invalid_mb_chars and adds a pointer to __set_invalid_mb_chars
+* to be called at runtime startup.
+*
+**
+*Revision History:
+* 10-22-93 CFW Module created.
+*
+*******************************************************************************/
+
+void __set_invalid_mb_chars(void);
+
+int __invalid_mb_chars = 0;
+
+#pragma data_seg(".CRT$XIC")
+void (*__pfn_set_invalid_mb_chars) = __set_invalid_mb_chars;
+