| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/archivers/zipmix/files/ |
Upload File : |
--- zipmix.c.orig 2016-07-26 12:48:42 UTC
+++ zipmix.c
@@ -4,6 +4,17 @@ zipmix.exe: zipmix.c; cl zipmix.c /O1 /G
!if 0
#endif
+#if (defined(__unix__) || defined(unix)) && !defined(USG)
+#include <sys/param.h>
+#endif
+
+#if (defined(BSD) && (BSD >= 199306))
+#include <stdlib.h>
+
+#define min(a,b) MIN(a,b)
+#define max(a,b) MAX(a,b)
+#endif
+
#if defined(_WIN32)
#include <windows.h>
@@ -167,10 +178,11 @@ void showhelp ()
}
enum { BOOL_NONE=0,BOOL_OR,BOOL_AND,BOOL_SUB };
-int main (long argc, char **argv)
+int main (int argc, char **argv)
{
unsigned long leng[2];
- long i, j, k, l, fileng[3], score[4], fmax, ftell43;
+ int i;
+ long j, k, l, fileng[3], score[4], fmax, ftell43;
long filespecified = 0, boolop = BOOL_NONE, quiet = 0, overwriteyesmode = 0;
short s;
char ch, *cptr, *cptr2;