File: time.h

package info (click to toggle)
perl 5.8.4-8sarge6
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 58,128 kB
  • ctags: 31,422
  • sloc: perl: 224,262; ansic: 155,398; sh: 32,253; pascal: 7,747; lisp: 6,121; makefile: 2,341; cpp: 2,035; yacc: 1,019; java: 23
file content (22 lines) | stat: -rw-r--r-- 489 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* Wrapper around broken system time.h.  */

#ifndef _PERL_WRAPPER_AROUND_TIME_H
# define _PERL_WRAPPER_AROUND_TIME_H 1

/* Recent versions of the MiNTLib have a macro HAS_TZNAME in 
   time.h resp. sys/time.h.  Wow, I wonder why they didn't
   define HAVE_CONFIG_H ...  */
#ifdef HAS_TZNAME 
# define PERL_HAS_TZNAME HAS_TZNAME
#endif

/* First include the system file.  */
#include_next <time.h> 

#ifdef HAS_TZNAME
# undef HAS_TZNAME
# define HAS_TZNAME PERL_HAS_TZNAME
#endif

#endif