Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #if __GNUC__ >= 3
00024 @PRAGMA_SYSTEM_HEADER@
00025 #endif
00026 @PRAGMA_COLUMNS@
00027
00028 #if defined _GL_SYS_TIME_H
00029
00030
00031 # if @HAVE_SYS_TIME_H@
00032 # @INCLUDE_NEXT@ @NEXT_SYS_TIME_H@
00033 # endif
00034
00035 #else
00036
00037 # define _GL_SYS_TIME_H
00038
00039 # if @HAVE_SYS_TIME_H@
00040 # @INCLUDE_NEXT@ @NEXT_SYS_TIME_H@
00041 # else
00042 # include <time.h>
00043 # endif
00044
00045
00046
00047
00048
00049
00050
00051 # ifdef __cplusplus
00052 extern "C" {
00053 # endif
00054
00055 # if ! @HAVE_STRUCT_TIMEVAL@
00056
00057 # if !GNULIB_defined_struct_timeval
00058 struct timeval
00059 {
00060 time_t tv_sec;
00061 long int tv_usec;
00062 };
00063 # define GNULIB_defined_struct_timeval 1
00064 # endif
00065
00066 # endif
00067
00068 # ifdef __cplusplus
00069 }
00070 # endif
00071
00072 # if @GNULIB_GETTIMEOFDAY@
00073 # if @REPLACE_GETTIMEOFDAY@
00074 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
00075 # undef gettimeofday
00076 # define gettimeofday rpl_gettimeofday
00077 # endif
00078 _GL_FUNCDECL_RPL (gettimeofday, int,
00079 (struct timeval *restrict, void *restrict)
00080 _GL_ARG_NONNULL ((1)));
00081 _GL_CXXALIAS_RPL (gettimeofday, int,
00082 (struct timeval *restrict, void *restrict));
00083 # else
00084 # if !@HAVE_GETTIMEOFDAY@
00085 _GL_FUNCDECL_SYS (gettimeofday, int,
00086 (struct timeval *restrict, void *restrict)
00087 _GL_ARG_NONNULL ((1)));
00088 # endif
00089
00090
00091 _GL_CXXALIAS_SYS_CAST (gettimeofday, int,
00092 (struct timeval *restrict, void *restrict));
00093 # endif
00094 _GL_CXXALIASWARN (gettimeofday);
00095 # elif defined GNULIB_POSIXCHECK
00096 # undef gettimeofday
00097 # if HAVE_RAW_DECL_GETTIMEOFDAY
00098 _GL_WARN_ON_USE (gettimeofday, "gettimeofday is unportable - "
00099 "use gnulib module gettimeofday for portability");
00100 # endif
00101 # endif
00102
00103 #endif