Ignore:
Timestamp:
Oct 27, 1999, 8:36:36 PM (26 years ago)
Author:
phaller
Message:

Fix: console (unicode) updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/conout.cpp

    r149 r1484  
    1 /* $Id: conout.cpp,v 1.3 1999-06-21 18:53:51 phaller Exp $ */
     1/* $Id: conout.cpp,v 1.4 1999-10-27 18:36:35 phaller Exp $ */
    22
    33/*
     
    1313#endif
    1414
    15 #undef DEBUG_LOCAL
    16 #undef DEBUG_LOCAL2
     15//#undef DEBUG_LOCAL
     16//#undef DEBUG_LOCAL2
    1717
    1818
     
    8383{
    8484  void   _System _O32_SetLastError(DWORD  dwError);
     85  int    _System _O32_GetLastError(void);
    8586}
    8687
     
    9394}
    9495
     96inline int GetLastError(void)
     97{
     98  USHORT sel = GetFS();
     99  int    rc;
     100
     101  rc = _O32_GetLastError();
     102  SetFS(sel);
     103  return rc;
     104}
    95105
    96106
Note: See TracChangeset for help on using the changeset viewer.