Changeset 347 in Main for trunk/Server/main.c
- Timestamp:
- Oct 16, 2024, 1:33:28 AM (4 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Server/main.c
r324 r347 38 38 #include <windows.h> 39 39 #elif defined(__NETWARE__) 40 #include <n wconio.h>41 #include < nwthread.h>40 #include <nks/thread.h> 41 #include <screen.h> 42 42 #endif 43 43 … … 549 549 parg->argc = argc; 550 550 parg->argv = argv; 551 DestroyScreen(GetCurrentScreen()); 552 SetCurrentScreen(CreateScreen("Tewi Console", 0)); 553 BeginThread(thread_stuff, NULL, 0, parg); 554 ThreadSwitch(); 555 ExitThread(EXIT_THREAD, 0); 551 thread_stuff(parg); 556 552 return 0; 557 553 } 558 559 #ifdef __NETWARE__560 void __WATCOM_Prelude(void){return;}561 #endif562 554 563 555 void thread_stuff(void* pargs) {
Note:
See TracChangeset
for help on using the changeset viewer.