From 83e080af8d8ad3bc2780c63fca45583374c98e50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Wed, 5 Oct 2011 11:43:14 +0000 Subject: compat function get_output_format according to http://lists-archives.org/mingw-users/12883-linking-error-with-msvc-6-0.html svn path=/trunk/externals/zexy/; revision=15513 --- src/rawprint.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/rawprint.c b/src/rawprint.c index 8397ad7..32c75ad 100644 --- a/src/rawprint.c +++ b/src/rawprint.c @@ -24,6 +24,10 @@ # define snprintf _snprintf #endif +#if !defined( _MSC_VER ) && defined (_WIN32) +int _get_output_format( void ){ return 0; } +#endif + static t_class *rawprint_class; typedef struct _rawprint { -- cgit v1.2.1