Changeset 21947 for trunk/include


Ignore:
Timestamp:
Jan 18, 2012, 8:23:03 PM (14 years ago)
Author:
dmik
Message:

Add MSVCRTtempnam() to minivcrt.lib.

This is mainly to replace _tempnam() broken in kLIBC (see #63)
that may be needed somewhere in the future. This commit also
fixes the MSVCRTtempnam() and _wtempnam() implementations
(the first argument to GetTempPath() cannot be NULL).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/win/minivcrt.h

    r21916 r21947  
    102102WCHAR*      _wtempnam(const WCHAR*,const WCHAR*);
    103103
     104#ifdef __EMX__
     105
    104106char *MSVCRT__fullpath(char * absPath, const char* relPath, unsigned int size);
    105107#undef _fullpath
    106108#define _fullpath MSVCRT__fullpath
     109
     110char *MSVCRT__tempnam(const char *dir, const char *prefix);
     111#undef _tempnam
     112#define _tempnam MSVCRT__tempnam
     113
     114#endif /* __EMX__ */
    107115
    108116#define swprintf    NTDLL_swprintf
Note: See TracChangeset for help on using the changeset viewer.