`make depend' attempts to make dependencies for *.c. This is plain

evil, and ought to be fixed.  In particular, it chokes on this file,
because it includes Windows specific headers.  Which is fine, as the
file is compiled only under Windows.

Quick band-aid: wrap the file contents in #ifdef _WIN32.
This commit is contained in:
Markus Armbruster 2005-02-12 19:45:59 +00:00
parent afa65c8f27
commit d89fdd8e31

View file

@ -31,6 +31,7 @@
* Ron Koenderink, 2004
*/
#ifdef _WIN32
#include <windows.h>
#include "prototypes.h"
@ -286,3 +287,5 @@ service_stopped(void)
else
return 0;
}
#endif /* _WIN32 */