Changeset 347 in Main for trunk/Server/main.c


Ignore:
Timestamp:
Oct 16, 2024, 1:33:28 AM (4 weeks ago)
Author:
Nishi
Message:

does not really work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Server/main.c

    r324 r347  
    3838#include <windows.h>
    3939#elif defined(__NETWARE__)
    40 #include <nwconio.h>
    41 #include <nwthread.h>
     40#include <nks/thread.h>
     41#include <screen.h>
    4242#endif
    4343
     
    549549        parg->argc = argc;
    550550        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);
    556552        return 0;
    557553}
    558 
    559 #ifdef __NETWARE__
    560 void __WATCOM_Prelude(void){return;}
    561 #endif
    562554
    563555void thread_stuff(void* pargs) {
Note: See TracChangeset for help on using the changeset viewer.