SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
26
multimedia/ccextractor/patches/patch-src_ccextractor_h
Normal file
26
multimedia/ccextractor/patches/patch-src_ccextractor_h
Normal file
|
@ -0,0 +1,26 @@
|
|||
--- src/ccextractor.h.orig Sun Jul 31 14:43:33 2011
|
||||
+++ src/ccextractor.h Sun Jul 31 14:43:41 2011
|
||||
@@ -32,6 +32,15 @@ typedef int64_t LLONG;
|
||||
#include "708.h"
|
||||
#include "bitstream.h"
|
||||
|
||||
+#ifdef __OpenBSD__
|
||||
+#define FOPEN64 fopen
|
||||
+#define OPEN open
|
||||
+#define FSEEK fseek
|
||||
+#define FTELL ftell
|
||||
+#define LSEEK lseek
|
||||
+#define FSTAT fstat
|
||||
+
|
||||
+#else
|
||||
#ifdef _WIN32
|
||||
#define FOPEN64 fopen
|
||||
#define OPEN _open
|
||||
@@ -62,6 +71,7 @@ typedef struct _stati64 FSTATSTRUCT;
|
||||
#define TELL tell
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
+#endif
|
||||
|
||||
#ifndef int64_t_C
|
||||
#define int64_t_C(c) (c ## LL)
|
Loading…
Add table
Add a link
Reference in a new issue