3 * Copyright © 2001 Novell, Inc. All Rights Reserved.
5 * You may distribute under the terms of either the GNU General Public
6 * License or the Artistic License, as specified in the README file.
11 * FILENAME : netware.h
12 * DESCRIPTION : Include for NetWare stuff.
13 * This is based on the win32.h file of Win32 port.
15 * Date : January 2001.
27 // to get the internal debugger break for functions that are not yet handled
34 //structure that will be used by times routine.
42 #define PERL_GET_CONTEXT_DEFINED
43 #define ENV_IS_CASELESS
46 #define init_os_extras Perl_init_os_extras
48 #define HAVE_INTERP_INTERN
49 struct interp_intern {
54 * handle socket stuff, assuming socket is always available
56 #include <sys/socket.h>
57 #include <sys/types.h>
60 //This is clashing with a definition in perly.h, hence
61 //undefine, may have to redefine if need be - CHKSGP
68 #define nw_internal_host (PL_sys_intern.internal_host)
70 EXTERN_C void Perl_nw5_init(int *argcp, char ***argvp);
72 #define PTHREAD_ATFORK(prepare,parent,child) NOOP
75 * This provides a layer of functions and macros to ensure extensions will
76 * get to use the same RTL functions as the core.
80 // Below is called in Run.c file when a perl script executes/runs.
82 #define PERL_ASYNC_CHECK() kYieldThread();
84 #define PERL_ASYNC_CHECK() ThreadSwitch();
88 #endif /* _INC_NW_PERL5 */