Commit c84b672e by Richard Kenner

(atexit): Prototype now works with NT.

From-SVN: r9016
parent a2a8c03c
...@@ -1425,7 +1425,11 @@ BLOCK_PROFILER_CODE ...@@ -1425,7 +1425,11 @@ BLOCK_PROFILER_CODE
char *ctime (); char *ctime ();
#ifdef HAVE_ATEXIT #ifdef HAVE_ATEXIT
#ifdef WINNT
extern int atexit (void (*) (void));
#else
extern void atexit (void (*) (void)); extern void atexit (void (*) (void));
#endif
#define ON_EXIT(FUNC,ARG) atexit ((FUNC)) #define ON_EXIT(FUNC,ARG) atexit ((FUNC))
#else #else
#ifdef sun #ifdef sun
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment