mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 10:52:56 +00:00
minor cleanup
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
57a817f01d
commit
d04f52684a
3 changed files with 4 additions and 24 deletions
21
src/3rdparty/javascriptcore/wtf/Platform.h
vendored
21
src/3rdparty/javascriptcore/wtf/Platform.h
vendored
|
@ -432,28 +432,9 @@ QT_USE_NAMESPACE
|
|||
/* Operating environments */
|
||||
|
||||
/* FIXME: these are all mixes of OS, operating environment and policy choices. */
|
||||
/* PLATFORM(CHROMIUM) */
|
||||
/* PLATFORM(QT) */
|
||||
/* PLATFORM(WX) */
|
||||
/* PLATFORM(GTK) */
|
||||
/* PLATFORM(HAIKU) */
|
||||
/* PLATFORM(MAC) */
|
||||
/* PLATFORM(WIN) */
|
||||
#define WTF_PLATFORM_QT 1
|
||||
|
||||
/* PLATFORM(IPHONE) */
|
||||
/* FIXME: this is sometimes used as an OS switch and sometimes for higher-level things */
|
||||
#if (defined(TARGET_OS_EMBEDDED) && TARGET_OS_EMBEDDED) || (defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE)
|
||||
#define WTF_PLATFORM_IPHONE 1
|
||||
#endif
|
||||
|
||||
#if !defined(WTF_PLATFORM_IPHONE)
|
||||
#define WTF_PLATFORM_IPHONE 0
|
||||
#endif
|
||||
|
||||
/* PLATFORM(ANDROID) */
|
||||
/* FIXME: this is sometimes used as an OS() switch, and other times to drive
|
||||
policy choices */
|
||||
|
||||
#if defined(ANDROID)
|
||||
#define WTF_PLATFORM_ANDROID 1
|
||||
#endif
|
||||
|
|
|
@ -257,7 +257,6 @@ include(global/global.cmake)
|
|||
include(io/io.cmake)
|
||||
include(json/json.cmake)
|
||||
include(kernel/kernel.cmake)
|
||||
#include(mimetypes/mimetypes.cmake)
|
||||
include(plugin/plugin.cmake)
|
||||
include(thread/thread.cmake)
|
||||
include(tools/tools.cmake)
|
||||
|
|
|
@ -241,11 +241,11 @@ void* QLibraryPrivate::resolve_sys(const char* symbol)
|
|||
void* address = dlsym(pHnd, undrscr_symbol);
|
||||
delete [] undrscr_symbol;
|
||||
#elif defined(QT_HPUX_LD)
|
||||
void* address = 0;
|
||||
void* address = Q_NULLPTR;
|
||||
if (shl_findsym((shl_t*)&pHnd, symbol, TYPE_UNDEFINED, &address) < 0)
|
||||
address = 0;
|
||||
address = Q_NULLPTR;
|
||||
#elif defined (QT_NO_DYNAMIC_LIBRARY)
|
||||
void *address = 0;
|
||||
void *address = Q_NULLPTR;
|
||||
#else
|
||||
void* address = dlsym(pHnd, symbol);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue