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 {
51 long perlshell_items; // For system() ; Ananth, 3 Sept 2001
55 * handle socket stuff, assuming socket is always available
57 #include <sys/socket.h>
58 #include <sys/types.h>
61 //This is clashing with a definition in perly.h, hence
62 //undefine, may have to redefine if need be - CHKSGP
69 #define nw_internal_host (PL_sys_intern.internal_host)
70 #define nw_perlshell_items (PL_sys_intern.perlshell_items) // For system() ; Ananth, 3 Sept 2001
72 EXTERN_C void Perl_nw5_init(int *argcp, char ***argvp);
74 #define PTHREAD_ATFORK(prepare,parent,child) NOOP
77 * This provides a layer of functions and macros to ensure extensions will
78 * get to use the same RTL functions as the core.
82 // Below is called in Run.c file when a perl script executes/runs.
84 #define PERL_ASYNC_CHECK() kYieldThread();
86 #define PERL_ASYNC_CHECK() ThreadSwitch();
90 #endif /* _INC_NW_PERL5 */