[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
MSVC patch: tzname declaration
From: |
Michael Goffioul |
Subject: |
MSVC patch: tzname declaration |
Date: |
Fri, 03 Nov 2006 21:21:37 +0100 |
User-agent: |
Thunderbird 1.5.0.7 (Windows/20060909) |
This patch is needed to avoid a link error.
Michael.
Index: liboctave/strftime.c
===================================================================
RCS file: /cvs/octave/liboctave/strftime.c,v
retrieving revision 1.4
diff -c -r1.4 strftime.c
*** liboctave/strftime.c 26 Apr 2005 19:24:29 -0000 1.4
--- liboctave/strftime.c 3 Nov 2006 20:19:29 -0000
***************
*** 50,56 ****
#endif
#if HAVE_TZNAME
! extern char *tzname[];
#endif
/* Do multibyte processing if multibytes are supported, unless
--- 50,56 ----
#endif
#if HAVE_TZNAME
! extern OCTAVE_IMPORT char *tzname[];
#endif
/* Do multibyte processing if multibytes are supported, unless
- MSVC patch: tzname declaration,
Michael Goffioul <=