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
53 char * perlshell_tokens; // For system() ; From Win32 of Perl 5.8 on 24 June 2002
54 char ** perlshell_vec; // For system() ; From Win32 of Perl 5.8 on 24 June 2002
58 * handle socket stuff, assuming socket is always available
60 #include <sys/socket.h>
61 #include <sys/types.h>
64 //This is clashing with a definition in perly.h, hence
65 //undefine, may have to redefine if need be - CHKSGP
72 #define nw_internal_host (PL_sys_intern.internal_host)
73 #define nw_perlshell_items (PL_sys_intern.perlshell_items) // For system() ; Ananth, 3 Sept 2001
75 #define nw_perlshell_tokens (PL_sys_intern.perlshell_tokens) // For system() ; From Win32 of Perl 5.8 on 24 June 2002
76 #define nw_perlshell_vec (PL_sys_intern.perlshell_vec) // For system() ; From Win32 of Perl 5.8 on 24 June 2002
78 EXTERN_C void Perl_nw5_init(int *argcp, char ***argvp);
80 #define PTHREAD_ATFORK(prepare,parent,child) NOOP
83 * This provides a layer of functions and macros to ensure extensions will
84 * get to use the same RTL functions as the core.
88 // Below is called in Run.c file when a perl script executes/runs.
90 #define PERL_ASYNC_CHECK() kYieldThread();
92 #define PERL_ASYNC_CHECK() ThreadSwitch();
96 #endif /* _INC_NW_PERL5 */