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/emulators/qmc2/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/emulators/qmc2/files/patch-qmc2_lzma_7zTypes.h
This avoids errors list the following, where True is a C++
identifier used in scoped context; the #define eats it.

/usr/local/include/qt5/QtCore/qcborstreamreader.h:143:76: error: expected unqualified-id
    bool isFalse() const            { return isSimpleType(QCborSimpleType::False); }
                                                                           ^
lzma/7zTypes.h:98:15: note: expanded from macro 'False'
#define False 0

--- qmc2/lzma/7zTypes.h.orig	2020-05-30 14:14:41 UTC
+++ qmc2/lzma/7zTypes.h
@@ -94,8 +94,11 @@ typedef size_t SizeT;
 #endif
 
 typedef int Bool_7z;
+#ifndef __cplusplus
+/* Only for library internals */
 #define True 1
 #define False 0
+#endif
 
 
 #ifdef _WIN32

Youez - 2016 - github.com/yon3zu
LinuXploit