Skip to content
Snippets Groups Projects
Commit ef1d601f authored by deuce's avatar deuce
Browse files

Get rid of startup.h kludge but makeing YIELD() an empty macro in nopen and
getuserdat
parent f1f1673d
No related branches found
No related tags found
No related merge requests found
......@@ -37,6 +37,8 @@
#include "sbbs.h"
#include "crc32.h"
#undef YIELD /* Kill YIELD in mswait() for nopen() */
#define YIELD()
/****************************************************************************/
/* Network open function. Opens all files DENYALL and retries LOOP_NOPEN */
......
......@@ -45,10 +45,6 @@
#include "client.h"
#include "ringbuf.h"
#include "threadwrap.h" /* sem_t */
#if defined(SBBS) /* Ugly hack around the use of startup.h including threadwrap.h */
/* Leave the warning here as incentive to fix it correctly! */
#define YIELD()
#endif
typedef struct {
......
......@@ -37,6 +37,8 @@
#include "sbbs.h"
#include "cmdshell.h"
#undef YIELD
#define YIELD() /* Kill YIELD in mswait() for nopen() */
/* convenient space-saving global variables */
char* crlf="\r\n";
......
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