Skip to content
Snippets Groups Projects
Commit b96b3809 authored by rswindell's avatar rswindell
Browse files

Eliminated redundant include of smbwrap.h (included with sbbs.h).

Added compiler error when __unix__ is defined, but not _POSIX_THREADS.
parent 9a8538c5
No related branches found
No related tags found
No related merge requests found
......@@ -63,7 +63,6 @@
#include <errno.h> /* ENOENT definitions */
#include "sbbs.h" /* getfname */
#include "smbwrap.h" /* SH_DENY* */
#ifdef _WIN32
#define stat(f,s) _stat(f,s)
......@@ -336,8 +335,11 @@ ulong _beginthread(void( *start_address )( void * )
return(-1); /* error */
}
#endif // _POSIX_THREADS
#endif
#else /* _POSIX_THREADS */
#error "Need _beginthread implementation for non-POSIX thread library."
#endif /* __unix__ */
/****************************************************************************/
/* Return free disk space in bytes (up to a maximum of 4GB) */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment