--- mstools/h/direct.h 2018/08/09 18:20:01 1.1 +++ mstools/h/direct.h 2018/08/09 18:20:34 1.1.1.2 @@ -1,7 +1,7 @@ /*** *direct.h - function declarations for directory handling/creation * -* Copyright (c) 1985-1991, Microsoft Corporation. All rights reserved. +* Copyright (c) 1985-1992, Microsoft Corporation. All rights reserved. * *Purpose: * This include file contains the function declarations for the library @@ -16,9 +16,11 @@ extern "C" { #endif +#ifndef MIPS #if (_MSC_VER <= 600) #define __cdecl _cdecl #endif +#endif #ifndef _SIZE_T_DEFINED typedef unsigned int size_t; @@ -52,6 +54,9 @@ int _rmdir(const char *); unsigned _getdiskfree(unsigned, struct _diskfree_t *); unsigned long _getdrives(void); + + + #if !__STDC__ /* Non-ANSI names for compatibility */ #define chdir _chdir