summaryrefslogtreecommitdiff
path: root/win32/win32.h
Commit message (Collapse)AuthorAgeFilesLines
* another win32 portability fix: make sysread() and syswrite()Gurusamy Sarathy1998-11-211-0/+5
| | | | | work on sockets p4raw-id: //depot/perl@2255
* various win32 tweaks; disable new xs_cpp section (it createsGurusamy Sarathy1998-10-261-1/+3
| | | | | ambiguous inference graph for %.xs --> %.o) p4raw-id: //depot/perl@2086
* update template config.sh, add new config vars to win32 stuffGurusamy Sarathy1998-09-251-0/+9
| | | p4raw-id: //depot/perl@1890
* Two tweaks to allow quiet compile qith egcs-1.1Nick Ing-Simmons1998-09-121-0/+4
| | | p4raw-id: //depot/maint-5.005/perl@1784
* win32 tweaksDouglas Lankshear1998-07-221-0/+3
| | | | | Message-Id: <000001bdb57a$4bc9dd00$a32fa8c0@tau.Active> p4raw-id: //depot/perl@1640
* fixes to enable PERL_OBJECT build with mingw32/egcs-1.0.2Gurusamy Sarathy1998-07-211-8/+10
| | | p4raw-id: //depot/perl@1612
* PL_ scheme Builds under Minw32 - some SEGFAULT snagsNick Ing-Simmons1998-07-181-6/+6
| | | p4raw-id: //depot/ansiperl@1537
* win32 fixes for VC 6.0 nitsGurusamy Sarathy1998-07-111-0/+1
| | | p4raw-id: //depot/perl@1435
* add FILE_SHARE_DELETE ifndef in win32.hGurusamy Sarathy1998-06-251-1/+5
| | | p4raw-id: //depot/perl@1214
* applied patch, along with many changes:Douglas Lankshear1998-06-211-0/+49
| | | | | | | | | | | - ipfoo.h headers have been coalesced along with perlfoo.h into iperlsys.h - win32/cp*.h have been combined in perlhost.h - CPerlObj::PerlParse() takes an extra xsinit arg - tweaks to get dl_win32.xs compiling again w/ PERL_OBJECT Message-Id: <000001bd9b8c$0417fe90$a32fa8c0@tau.Active> Subject: RE: [PATCH 5.004_67] Fixes for broken MS compiler p4raw-id: //depot/perl@1172
* manual integration of all outstanding ansi branch stuff into mainlineGurusamy Sarathy1998-06-201-3/+4
| | | p4raw-id: //depot/perl@1162
* various win32 fixesGurusamy Sarathy1998-06-141-1/+2
| | | | | | | | | | | - fixes that silence VC noises about dup exports, non-default libs, and unsupported *.def file directives - s/inplace/inplace_label/ malloc.c - update Config{usemymalloc} based on d_mymalloc - export Perl_*Vars - fix makefiles to not build miniperl.exe twice, and to make it properly when defaults are changed p4raw-id: //depot/perl@1129
* [win32] @INC construction on win32 cleaned upGurusamy Sarathy1998-06-011-2/+2
| | | | | | | - perl.dll location based paths should be much more reliable now - registry stuff unchanged - Config.pm now has all the installfoolib entries for MakeMaker et al p4raw-id: //depot/win32/perl@1069
* [asperl] integrate mainline changesGurusamy Sarathy1998-05-291-1/+0
|\ | | | | p4raw-id: //depot/asperl@1055
| * [win32] remove C<#define index strchr> from win32.h (unused, and theGurusamy Sarathy1998-05-271-1/+0
| | | | | | | | | | pollution causes spurious variable name changes in extensions) p4raw-id: //depot/win32/perl@1039
* | [asperl] fix various shenanigans with C<environ>, BC and VC builds now passGurusamy Sarathy1998-05-291-8/+6
| | | | | | | | | | all tests p4raw-id: //depot/asperl@1049
* | [asperl] integrate mainline changes (untested)Gurusamy Sarathy1998-05-181-0/+25
|\ \ | |/ | | p4raw-id: //depot/asperl@1010
| * [win32] intern -> sys_internGurusamy Sarathy1998-04-221-6/+6
| | | | | | p4raw-id: //depot/win32/perl@895
| * [win32] hand-applied patch along with small tweaksJan Dubois1998-04-221-0/+25
| | | | | | | | | | | | Message-Id: <35400e2a.13538517@smtp1.ibm.net> Subject: Re: Per-Interpreter variables for win32.c p4raw-id: //depot/win32/perl@894
* | [asperl] integrate mainline changesGurusamy Sarathy1998-04-081-0/+10
|\ \ | |/ | | p4raw-id: //depot/asperl@884
| * [win32] set sockets to nonoverlapped mode for every threadSteve Nielsen1998-03-121-0/+3
| | | | | | | | | | | | Message-Id: <35081FE4.965A484D@enteract.com> Subject: [PATCH 5.004_62] win32: set sockopt on a per-thread basis p4raw-id: //depot/win32/perl@808
| * [win32] mingw32 tweaksGurusamy Sarathy1998-03-101-0/+7
| | | | | | p4raw-id: //depot/win32/perl@804
* | [asperl] add AS patch#15Gurusamy Sarathy1998-04-031-2/+4
| | | | | | p4raw-id: //depot/asperl@863
* | [asperl] various changes to get asperl working under BorlandGurusamy Sarathy1998-03-161-0/+16
| | | | | | | | | | (passes all tests when built under PERL_OBJECT) p4raw-id: //depot/asperl@809
* | [asperl] integrate mainline changesGurusamy Sarathy1998-03-011-0/+1
|\ \ | |/ | | p4raw-id: //depot/asperl@607
| * [win32] support chown() (just a noop for now)Gurusamy Sarathy1998-02-221-0/+1
| | | | | | p4raw-id: //depot/win32/perl@570
* | [asperl] added AS patch#9Gurusamy Sarathy1998-02-261-0/+4
| | | | | | p4raw-id: //depot/asperl@591
* | [asperl] integrate latest win32 branchGurusamy Sarathy1998-02-221-1/+4
|\ \ | |/ | | p4raw-id: //depot/asperl@569
| * [win32] DLLs are now ok on mingw32/gcc-2.8.0 after removing theGurusamy Sarathy1998-02-171-1/+0
| | | | | | | | | | | | | | FORCE_ARG_STRING() hack (that bug is fixed in gcc now). mingw32 build passes all tests except t/lib/io_xs.t (seems to be due to broken tmpfile() in the CRT or import lib) p4raw-id: //depot/win32/perl@530
| * [win32] fix mingw32 gcc 2.8.0 build (DLLs generated seem to be brokenGurusamy Sarathy1998-02-161-1/+5
| | | | | | | | | | in this version of gcc!) p4raw-id: //depot/win32/perl@529
* | [asperl] added AS patch#6Douglas Lankshear1998-02-141-0/+10
|/ | | | | | | | | | | Message-Id: <01BD3846.B29FB880.dougl@ActiveState.com> Subject: [PATCH] command line build This patch is for the command line build of perl object. I'll merge the ipfoo.c function with win32_xxx functions next. -- Doug p4raw-id: //depot/asperl@522
* [win32] Fix autovivification problems with XSUB OUTPUT argsGurusamy Sarathy1998-01-191-9/+9
| | | | | | Message-Id: <199801190409.XAA26710@aatma.engin.umich.edu> Subject: [PATCH] XSUB OUTPUT arguments and 'set' magic p4raw-id: //depot/win32/perl@430
* [win32] Support case-tolerant %ENVGurusamy Sarathy1998-01-051-0/+2
| | | | | | | | - underlying system calls see the case-as-supplied by user - added tests to verify addition/deletion/enumeration case-tolerance - hv.c touched, but changes are fully conditional on -DENV_IS_CASELESS, which is default on win32 now p4raw-id: //depot/win32/perl@393
* [win32] Add a tweaked version of:Tye McQueen1998-01-041-0/+1
| | | | | | Message-Id: <199801040630.AA29298@metronet.com> Subject: New patch for $^E==GetLastError() under Win32 p4raw-id: //depot/win32/perl@392
* [win32] Various win32 fixesGurusamy Sarathy1998-01-041-2/+6
| | | | | | | | | | | | | | | - support spawn via system(&P_NOWAIT,...) like OS2 - support wait() and waitpid() - s/GetCurrentDirectory/GetCwd/, long-named XS to be removed - support -lfoo properly in ExtUtils::Liblist - fix outdated info about Win32 support in perlfaq2 - fix win32 bug in perldoc that causes spurious warnings - regularize global function/variable names yet more - fix bug in do_aspawn() (it was always invoking shell, instead of almost never) - implement and export win32_wait() - stub version of USE_RTL_THREAD_API p4raw-id: //depot/win32/perl@391
* [win32] support getlogin()Gurusamy Sarathy1997-12-241-12/+14
| | | p4raw-id: //depot/win32/perl@386
* [win32] add support for crypt() via user-supplied des_fcrypt() source or ↵Gurusamy Sarathy1997-12-241-0/+3
| | | | | | | library. Update README.win32. p4raw-id: //depot/win32/perl@385
* [win32] makegcc.mk merged into makefile.mk, so makegcc.mk is gone.Gurusamy Sarathy1997-12-021-0/+3
| | | | | Other minor fixes. Now is a good time to get the changes in win32 branch. p4raw-id: //depot/win32/perl@348
* [win32] various hacks to get mingw32 to build. Sync Makefile with makefile.mk.Gurusamy Sarathy1997-12-021-3/+9
| | | | | makegcc.mk to be merged into makefile.mk soon. p4raw-id: //depot/win32/perl@346
* Create a struct for all perls globals (as an option)Nick Ing-Simmons1997-12-011-5/+19
| | | | | | | Mainly for Mingw32 which cannot import data. Now only Opcode tests fail (op_desc/op_name not handled yet stuff) p4raw-id: //depot/ansiperl@341
* Avoid __declspec(thread) by default, for both scratchNick Ing-Simmons1997-11-291-1/+16
| | | | | return areas and THR stuff. Use struct thread intern instead. p4raw-id: //depot/ansiperl@335
* GCC + Threads on Win32 - best gcc results yetNick Ing-Simmons1997-11-291-0/+9
| | | p4raw-id: //depot/ansiperl@331
* Add files and tweak others to get 'native' Mingw32 gcc port asNick Ing-Simmons1997-11-271-0/+6
| | | | | | | | | | far as building miniperl and perl.dll (but not import lib yet) Seems to lack popen()/pclose() and fcloseall() and fflushall(). Also only CRTDLL not MCRTDLL so threading is probably not possible yet. Had to mess with win32iop.h's placement as we need __attribute__ to get STDCALL, and #define of printf messes up proto.h p4raw-id: //depot/ansiperl@325
* [win32] Various changes to make it build cleanly and pass all tests:Gurusamy Sarathy1997-11-261-1/+1
| | | | | | | | | | | | | | - needed to run `perl embed.pl` - use PERL_CORE instead of PERLDLL in places that do mean PERL_CORE - fix prototypes for a few declarations (Borland is finally quiet) - move declaration of Mymalloc etc to perl.h (since win32 and other ports may #define malloc themselves, to let extensions bind to the version that perl used) - move struct reg_data into a public header file, since it is referenced in a public datatype - win32 makefile fixes - fix remaining s/thread/perl_thread/ p4raw-id: //depot/win32/perl@304
* Munge pseudo-Configure stuff to add -thread to archname asNick Ing-Simmons1997-11-221-2/+1
| | | | | | | Malcolm seems to think that is way to test for threads. Update @INC stuffing hackery to have traditional @INC search order archlib, privlib, sitearch, site. p4raw-id: //depot/ansiperl@282
* ansiperl builds with Borland C++ againNick Ing-Simmons1997-11-221-0/+1
| | | p4raw-id: //depot/ansiperl@280
* Basic integrate of lastest perl into ansiperlNick Ing-Simmons1997-11-211-0/+8
|\ | | | | p4raw-id: //depot/ansiperl@272
* | MYMALLOC for Win32:Nick Ing-Simmons1997-11-161-0/+10
|/ | | | | | | | | | | 1. Initialize malloc_mutex before it is used (all platforms!) 2. Adjust #ifdef muddle to allow MYMALLOC and win32_ to coexist 3. Tweak win32/config*.* to define MYMALLOC 4. Provide sbrk() in terms of VirtualAlloc(). Also fixup -MT (perl95) build to handle Perl_current_thread via call to DLL (as though an extension). p4raw-id: //depot/ansiperl@259
* More cleanups of win32/win32*.[ch] files. win32/win32iop.h nowGurusamy Sarathy1997-11-121-74/+50
| | | | | | | | | contains the all the declarations and macros for the win32io layer. New std-ish functions are exported now. All win32-specific exported functions begin with "win32_" consistently. win32 version of init_os_extras() is now exported, so embedders can get the in-core xsubs. p4raw-id: //depot/win32/perl@244
* Egregious IOsubsystem code excised. Phew, what a relief! TwoGurusamy Sarathy1997-11-121-60/+50
| | | | | | | | files (win32/win32io.[ch]) completely removed, as are all traces of them in makefiles and MANIFEST. RunPerl() retains the void* arg for later. Various myfoo() things regularized to my_foo(). CPP not required anymore to create a perl binary :) p4raw-id: //depot/win32/perl@242