forked from Ivasoft/DSView
Merge pull request #503 from vowstar/fix-zof
common/minizip/*: fix OF prototypes
This commit is contained in:
@@ -44,6 +44,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include "zlib.h"
|
||||
#include "of.h"
|
||||
|
||||
#if defined(USE_FILE32API)
|
||||
#define fopen64 fopen
|
||||
|
||||
@@ -13,6 +13,7 @@ extern "C" {
|
||||
|
||||
#ifndef _ZLIB_H
|
||||
#include "zlib.h"
|
||||
#include "of.h"
|
||||
#endif
|
||||
|
||||
#include "unzip.h"
|
||||
|
||||
12
common/minizip/of.h
Normal file
12
common/minizip/of.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#ifndef _OF_H
|
||||
#define _OF_H
|
||||
|
||||
#ifndef OF /* function prototypes */
|
||||
# ifdef STDC
|
||||
# define OF(args) args
|
||||
# else
|
||||
# define OF(args) ()
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#endif /* _OF_H */
|
||||
@@ -49,6 +49,7 @@ extern "C" {
|
||||
|
||||
#ifndef _ZLIB_H
|
||||
#include "zlib.h"
|
||||
#include "of.h"
|
||||
#endif
|
||||
|
||||
#ifndef _ZLIBIOAPI_H
|
||||
|
||||
@@ -48,6 +48,7 @@ extern "C" {
|
||||
|
||||
#ifndef _ZLIB_H
|
||||
#include "zlib.h"
|
||||
#include "of.h"
|
||||
#endif
|
||||
|
||||
#ifndef _ZLIBIOAPI_H
|
||||
|
||||
Reference in New Issue
Block a user