summaryrefslogtreecommitdiff
path: root/sal/inc/systools
diff options
context:
space:
mode:
authorPovilas Kanapickas <povilas.kanapickas@gmail.com>2010-10-18 16:25:37 +0100
committerMichael Meeks <michael.meeks@novell.com>2010-10-18 16:25:47 +0100
commitc189268e0ab3ec33c02c5dbabfd31b37e0b1f5ab (patch)
tree1a67096d0b39a58883f5eaabd041f187ae33b5f3 /sal/inc/systools
parent17a52bb6a8d830b99605b0ecad84e50cac452a28 (diff)
remove non-compiled code
Diffstat (limited to 'sal/inc/systools')
-rw-r--r--sal/inc/systools/win32/snprintf.h22
1 files changed, 3 insertions, 19 deletions
diff --git a/sal/inc/systools/win32/snprintf.h b/sal/inc/systools/win32/snprintf.h
index 79441f032fee..57afcc24937d 100644
--- a/sal/inc/systools/win32/snprintf.h
+++ b/sal/inc/systools/win32/snprintf.h
@@ -17,27 +17,18 @@
/* Define needed types if they are not yet defined */
-#if 0
-# ifndef _INC_STDARG
-# include <stdarg.h>
-# endif
-#else
+
# ifndef _VA_LIST_DEFINED
typedef char * va_list;
# define _VA_LIST_DEFINED
# endif
-#endif
-#if 0
-# ifndef _INC_WCHAR
-# include <wchar.h>
-# endif
-#else
+
# ifndef _WCHAR_T_DEFINED
typedef unsigned short wchar_t;
# define _WCHAR_T_DEFINED
# endif
-#endif
+
#ifndef _SNPRINTF_DLLIMPORT
#define _SNPRINTF_DLLIMPORT __declspec( dllimport )
@@ -65,13 +56,6 @@ _SNPRINTF_DLLIMPORT int __cdecl snwprintf( wchar_t *buffer, size_t count, const
_SNPRINTF_DLLIMPORT int __cdecl snprintf( char *buffer, size_t count, const char *format, ... );
/* Conflict with STL_port inline implementation */
-#if 0
-/* UNICODE version */
-_SNPRINTF_DLLIMPORT int __cdecl vsnwprintf( wchar_t *buffer, size_t count, const wchar_t *format, va_list ap );
-
-/* SBCS and MBCS version */
-_SNPRINTF_DLLIMPORT int __cdecl vsnprintf( char *buffer, size_t count, const char *format, va_list ap );
-#endif
#ifdef __cplusplus
}