Don't do all the setup if RES_ONLY is defined; only get the resource
authorRichard Basch <probe@mit.edu>
Tue, 25 Feb 1997 23:34:26 +0000 (23:34 +0000)
committerRichard Basch <probe@mit.edu>
Tue, 25 Feb 1997 23:34:26 +0000 (23:34 +0000)
definitions, since Win16's 'rc' can't handle much more.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9979 dc483132-0cff-0310-8789-dd5450dbe970

src/include/win-mac.h

index 20fa9652f63244e6714020ec8854b8bb6fba9250..1e58e81af1c8c40a6db017454467661c1ce7d6aa 100644 (file)
 #define ID_READ_PWD_PROMPT2 10002
 #define ID_READ_PWD_PWD     10003
 
+#ifdef RES_ONLY
+
+#define APSTUDIO_HIDDEN_SYMBOLS
+#include <windows.h>
+
+#else
 
 #if defined(_MSDOS)
        /* Windows 16 specific */
@@ -210,6 +216,8 @@ typedef unsigned char       u_char;
 
 HINSTANCE get_lib_instance(void);
 
+#endif /* !RES_ONLY */
+
 #endif /* _MSDOS || _WIN32 */
 
 #ifndef KRB5_CALLCONV