Fix 22_locale/locale/cons/12658_thread-2.cc on hppa.
[official-gcc.git] / fixincludes / tests / base / time.h
blobe0252bd85d14836498d800c28cc96abc87510057
1 /* DO NOT EDIT THIS FILE.
3 It has been auto-edited by fixincludes from:
5 "fixinc/tests/inc/time.h"
7 This had to be done to correct non-standard usages in the
8 original, manufacturer supplied header file. */
12 #if defined( VXWORKS_NEEDS_VXTYPES_CHECK )
13 unsigned int _clocks_per_sec;
14 #endif /* VXWORKS_NEEDS_VXTYPES_CHECK */
17 #if defined( VXWORKS_TIME_CHECK )
18 #ifndef __gcc_VOIDFUNCPTR_defined
19 #ifdef __cplusplus
20 typedef void (*__gcc_VOIDFUNCPTR) (...);
21 #else
22 typedef void (*__gcc_VOIDFUNCPTR) ();
23 #endif
24 #define __gcc_VOIDFUNCPTR_defined
25 #endif
26 #define VOIDFUNCPTR __gcc_VOIDFUNCPTR
27 #endif /* VXWORKS_TIME_CHECK */
30 #if defined( VXWORKS_TIME_H_SYSLIB_CHECK )
31 /* kernel header pattern: */
32 #include <vxWorks.h>
33 #include <sysLib.h>
35 /* rtp header pattern: */
36 #ifndef _YVALS
37 #include <yvals.h>
38 #endif /* _YVALS */
39 #include <sysLib.h>
41 #define CLOCKS_PER_SEC sysClkRateGet()
42 #endif /* VXWORKS_TIME_H_SYSLIB_CHECK */