Skip to content
Snippets Groups Projects
Commit c1a90b14 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Fix Borland build issue: no stdbool.h in C++Builder 6 ... still ;-)

parent f2e4b391
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #3092 passed
......@@ -133,7 +133,7 @@ uchar telnet_opt_nak(uchar cmd)
return 0;
}
bool telnet_opt_enabled(uchar val)
BOOL telnet_opt_enabled(uchar val)
{
return (val == TELNET_DO) || (val == TELNET_WILL);
}
......
......@@ -23,7 +23,6 @@
#define _TELNET_H
#include "gen_defs.h" /* uchar */
#include <stdbool.h>
/* commands */
......@@ -150,7 +149,7 @@ DLLEXPORT const char* telnet_cmd_desc(uchar cmd);
DLLEXPORT const char* telnet_opt_desc(uchar opt);
DLLEXPORT uchar telnet_opt_ack(uchar cmd);
DLLEXPORT uchar telnet_opt_nak(uchar cmd);
DLLEXPORT bool telnet_opt_enabled(uchar value);
DLLEXPORT BOOL telnet_opt_enabled(uchar value);
DLLEXPORT size_t telnet_expand(const uchar* inbuf, size_t inlen, uchar* outbuf, size_t outlen
,BOOL expand_cr, uchar** result);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment