VirtualBox

Changeset 3636 in kBuild for trunk


Ignore:
Timestamp:
Nov 2, 2024 1:52:45 AM (4 weeks ago)
Author:
bird
Message:

kmk/kmkbuiltins: Some UCRT & VC++ 2022 adjustments.

Location:
trunk/src/kmk/kmkbuiltin
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/kmkbuiltin/err.c

    r3237 r3636  
    3737#else
    3838# include <stdlib.h>
    39 # define snprintf _snprintf
     39# if _MSC_VER < 1400
     40#  define snprintf _snprintf
     41# endif
    4042#endif
    4143#include <stdio.h>
  • trunk/src/kmk/kmkbuiltin/mscfakes.c

    r3387 r3636  
    690690        va_copy(va2, va);
    691691        rc = vsnprintf(psz, cb, fmt, va2);
    692         va_end(vaCopy);
     692        va_end(va2);
    693693#else
    694694        va2 = va;
  • trunk/src/kmk/kmkbuiltin/mscfakes.h

    r3213 r3636  
    4848#include <io.h>
    4949#include <direct.h>
     50#include <stdio.h> /* unlink for UCRT */
    5051#include "nt/ntstat.h"
    5152#include "nt/ntunlink.h"
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette