00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 #ifndef ACE_OS_INCLUDE_SYS_OS_TIME_H
00017 #define ACE_OS_INCLUDE_SYS_OS_TIME_H
00018 
00019 #include  "ace/pre.h"
00020 
00021 #include "ace/config-lite.h"
00022 
00023 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00024 # pragma once
00025 #endif 
00026 
00027 #include "ace/os_include/sys/os_types.h"
00028 
00029 #if !defined (ACE_LACKS_SYS_TIME_H)
00030 #  include  <sys/time.h>
00031 #endif 
00032 
00033 #if defined (ACE_VXWORKS) && (ACE_VXWORKS == 0x620)
00034 #  include  <time.h> // VxWorks 6.2 defined timeval in time.h
00035 #endif
00036 
00037 
00038 #ifdef __cplusplus
00039 extern "C"
00040 {
00041 #endif 
00042 
00043 #if defined (ACE_HAS_SVR4_GETTIMEOFDAY)
00044 # if !defined (SCO)
00045   int gettimeofday (struct timeval *tp, void * = 0);
00046 # else
00047   int gettimeofday (struct timeval *tp);
00048 # endif  
00049 #elif defined (ACE_HAS_OSF1_GETTIMEOFDAY)
00050   int gettimeofday (struct timeval *tp, struct timezone * = 0);
00051 #elif defined (ACE_HAS_VOIDPTR_GETTIMEOFDAY)
00052 # define ACE_HAS_SVR4_GETTIMEOFDAY
00053 #endif 
00054 
00055 #ifdef __cplusplus
00056 }
00057 #endif 
00058 
00059 #include  "ace/post.h"
00060 #endif