Changeset 3188 for trunk/essentials/dev-lang/perl/os2/OS2
- Timestamp:
- Apr 22, 2007, 10:57:48 AM (18 years ago)
- Location:
- trunk/essentials/dev-lang/perl/os2/OS2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/essentials/dev-lang/perl/os2/OS2/Process/Process.xs
r3187 r3188 221 221 PIB *pib; 222 222 223 #ifndef __KLIBC__ 223 224 if (!(_emx_env & 0x200)) return (char*)ptypes[1]; /* not OS/2. */ 225 #endif 224 226 if (CheckOSError(DosGetInfoBlocks(&tib, &pib))) 225 227 return NULL; … … 234 236 ULONG apptype; 235 237 238 #ifndef __KLIBC__ 236 239 if (!(_emx_env & 0x200)) 237 240 croak("file_type not implemented on DOS"); /* not OS/2. */ 241 #endif 238 242 if (CheckOSError(DosQueryAppType(path, &apptype))) { 239 243 #if 0 … … 481 485 HSWITCH hSwitch; 482 486 487 #ifndef __KLIBC__ 483 488 if (!(_emx_env & 0x200)) 484 489 croak("switch_entry not implemented on DOS"); /* not OS/2. */ 490 #endif 485 491 if (CheckWinError(hSwitch = 486 492 myWinQuerySwitchHandle(hwnd, pid))) … … 683 689 SWENTRY swentry; 684 690 691 #ifndef __KLIBC__ 685 692 if (!(_emx_env & 0x200)) 686 693 croak("process_swentry not implemented on DOS"); /* not OS/2. */ 694 #endif 695 687 696 fill_swentry(&swentry, hwnd, pid); 688 697 return newSVpvn((char*)&swentry, sizeof(swentry)); … … 697 706 SV *sv = newSVpvn("",0); 698 707 708 #ifndef __KLIBC__ 699 709 if (!(_emx_env & 0x200)) 700 710 croak("swentries_list not implemented on DOS"); /* not OS/2. */ 711 #endif 701 712 if (!pWinQuerySwitchList) 702 713 AssignFuncPByORD(pWinQuerySwitchList, ORD_WinQuerySwitchList); … … 759 770 ULONG rc; /* For CheckOSError */ 760 771 772 #ifndef __KLIBC__ 761 773 if (!(_emx_env & 0x200)) 762 774 croak("change_entry() not implemented on DOS"); /* not OS/2. */ 775 #endif 763 776 if (!pWinChangeSwitchEntry) 764 777 AssignFuncPByORD(pWinChangeSwitchEntry, ORD_WinChangeSwitchEntry); -
trunk/essentials/dev-lang/perl/os2/OS2/REXX/REXX.xs
r3187 r3188 15 15 #endif 16 16 17 #ifndef __KLIBC__ 17 18 extern ULONG _emx_exception ( EXCEPTIONREPORTRECORD *, 18 19 EXCEPTIONREGISTRATIONRECORD *, 19 20 CONTEXTRECORD *, 20 21 void *); 22 #endif 21 23 22 24 static RXSTRING * strs; … … 158 160 { 159 161 dTHX; 162 #ifndef __KLIBC__ 160 163 EXCEPTIONREGISTRATIONRECORD xreg = { NULL, _emx_exception }; 164 #endif 161 165 int i, rc; 162 166 unsigned long len;
Note:
See TracChangeset
for help on using the changeset viewer.