mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-24 20:01:53 +00:00
Avoid a couple of warnings on Windows systems.
This commit is contained in:
parent
efb7336206
commit
b878206f92
@ -19,6 +19,8 @@
|
||||
#ifndef __TOOLS_COMMON_GDIVFW_H__
|
||||
#define __TOOLS_COMMON_GDIVFW_H__
|
||||
|
||||
#include "os.h"
|
||||
|
||||
#include <ctype.h>
|
||||
|
||||
#include "ac_common.h"
|
||||
@ -161,6 +163,7 @@ typedef struct {
|
||||
#define ICERR_CUSTOM -400L // errors less than ICERR_CUSTOM...
|
||||
#endif
|
||||
|
||||
#if !defined(SYS_WINDOWS)
|
||||
#ifndef MMNOMMIO
|
||||
#define MMIOERR_BASE 256
|
||||
#define MMIOERR_FILENOTFOUND (MMIOERR_BASE + 1) /* file not found */
|
||||
@ -180,6 +183,7 @@ typedef struct {
|
||||
#define MMIOERR_TOOMANYOPENFILES (MMIOERR_BASE + 15) /* no more file handles */
|
||||
#define MMIOERR_INVALIDFILE (MMIOERR_BASE + 16) /* default error file error */
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/*
|
||||
* long values
|
||||
@ -249,9 +253,10 @@ typedef struct {
|
||||
//
|
||||
// Success codes
|
||||
//
|
||||
#if !defined(SYS_WINDOWS)
|
||||
#define S_OK ((long)0x00000000L)
|
||||
#define S_FALSE ((long)0x00000001L)
|
||||
|
||||
#endif
|
||||
|
||||
#undef MAKE_SCODE
|
||||
#define MAKE_SCODE(sev,fac,code) \
|
||||
|
Loading…
Reference in New Issue
Block a user