Changeset 368 in Main for trunk/Server/tw_module.h
- Timestamp:
- Oct 17, 2024, 1:26:00 PM (4 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Server/tw_module.h
r367 r368 13 13 #ifdef __NETWARE__ 14 14 #include <nwconio.h> 15 #define END_MODULE int main(){DestroyScreen(GetCurrentScreen());while(1);return 0;} 15 #include <nwthread.h> 16 #include <stddef.h> 17 #define END_MODULE void _thread(void* arg){ \ 18 while(1); \ 19 } \ 20 int main(){ \ 21 DestroyScreen(GetCurrentScreen()); \ 22 BeginThread(_thread, NULL, 0, NULL); \ 23 ThreadSwitch(); \ 24 return 0; \ 25 } 16 26 #else 17 27 #define END_MODULE
Note:
See TracChangeset
for help on using the changeset viewer.