Skip to content

Commit

Permalink
Restoring changed files in external projects
Browse files Browse the repository at this point in the history
Introduced in commit 18db3e2 and 1204fec
  • Loading branch information
adnanmunawar committed Nov 11, 2021
1 parent c16127e commit 1b6b10c
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 13 deletions.
2 changes: 0 additions & 2 deletions external/libpng/src/gzlib.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
*/

#include "gzguts.h"
#include <unistd.h> /* Many POSIX functions (but not all, by a large margin) */
#include <fcntl.h> /* open(), creat() - and fcntl() */

#if defined(_LARGEFILE64_SOURCE) && _LFS64_LARGEFILE-0
# define LSEEK lseek64
Expand Down
1 change: 0 additions & 1 deletion external/libpng/src/gzread.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
*/

#include "gzguts.h"
#include <unistd.h>

/* Local functions */
local int gz_load OF((gz_statep, unsigned char *, unsigned, unsigned *));
Expand Down
2 changes: 0 additions & 2 deletions external/libpng/src/gzwrite.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
*/

#include "gzguts.h"
#include <unistd.h> /* Many POSIX functions (but not all, by a large margin) */
#include <fcntl.h> /* open(), creat() - and fcntl() */

/* Local functions */
local int gz_init OF((gz_statep));
Expand Down
4 changes: 1 addition & 3 deletions external/openal/include/alConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,7 @@
#define HAVE_STDINT_H
#define HAVE_DLFCN_H
#define HAVE_MALLOC_H
#if defined (__arm__)
#define C_ENABLE_DELTA_DEVICE_SUPPORT
#endif
#define HAVE_CPUID_H
#define HAVE_FLOAT_H
#define HAVE_FENV_H
#define HAVE_FESETROUND
Expand Down
6 changes: 1 addition & 5 deletions external/theoraplayer/src/TheoraDataSource.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,7 @@ TheoraMemoryFileDataSource::TheoraMemoryFileDataSource(std::string filename) :
mData = new unsigned char[(unsigned int) mSize];
if (mSize < UINT_MAX)
{
int systemRet = fread(mData, 1, (size_t) mSize, f);

//if(systemRet == -1){
// The system method failed
//}
fread(mData, 1, (size_t) mSize, f);
}
else
{
Expand Down

0 comments on commit 1b6b10c

Please sign in to comment.