From 3261805fee19e346b4d1f84b23816daa1628764a Mon Sep 17 00:00:00 2001 From: lecoanet Date: Wed, 16 Apr 2003 09:49:22 +0000 Subject: Update from the Windows port and general cleanup/restructure --- generic/perfos.h | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) (limited to 'generic/perfos.h') diff --git a/generic/perfos.h b/generic/perfos.h index 9e5627c..4fef0b6 100644 --- a/generic/perfos.h +++ b/generic/perfos.h @@ -34,6 +34,8 @@ extern "C" { #endif +#ifndef _WIN32 + #include #include #include @@ -48,20 +50,22 @@ extern "C" { long total_delay; int actions; char *message; - } ChronoRec, *Chrono; + } ZnChronoRec, *ZnChrono; - void XStartChrono(Chrono /*chrono*/, Display */*dpy*/, Drawable /*win*/); - void XStopChrono(Chrono /*chrono*/, Display */*dpy*/, Drawable /*win*/); - void StartChrono(Chrono /*chrono*/); - void StopChrono(Chrono /*chrono*/); - void StartUCChrono(Chrono /*chrono*/); - void StopUCChrono(Chrono /*chrono*/); - Chrono NewChrono(char */*message*/); - void FreeChrono(Chrono /*chrono*/); - void PrintChronos(void); - void GetChrono(Chrono /*chrono*/, long */*time*/, int */*actions*/); - void ResetChronos(Chrono /*chrono*/); + void ZnXStartChrono(ZnChrono /*chrono*/, Display */*dpy*/, Drawable /*win*/); + void ZnXStopChrono(ZnChrono /*chrono*/, Display */*dpy*/, Drawable /*win*/); + void ZnStartChrono(ZnChrono /*chrono*/); + void ZnStopChrono(ZnChrono /*chrono*/); + void ZnStartUCChrono(ZnChrono /*chrono*/); + void ZnStopUCChrono(ZnChrono /*chrono*/); + ZnChrono ZnNewChrono(char */*message*/); + void ZnFreeChrono(ZnChrono /*chrono*/); + void ZnPrintChronos(void); + void ZnGetChrono(ZnChrono /*chrono*/, long */*time*/, int */*actions*/); + void ZnResetChronos(ZnChrono /*chrono*/); + +#endif /* _WIN32 */ #ifdef __CPLUSPLUS__ } -- cgit v1.1