RetroArch/ui
Sergei Trofimovich f5ee9e74ba
ui/drivers/cocoa: fix -fno-common build (#14204)
`llvm-11` changed the default from `-fcommon` to `-fno-common`:
  https://reviews.llvm.org/D75056

As a result build fails as:

    LD retroarch
    duplicate symbol '_apple_platform' in:
        obj-unix/release/ui/drivers/ui_cocoa.o
        obj-unix/release/ui/drivers/cocoa/cocoa_common.o
    duplicate symbol '_apple_platform' in:
        obj-unix/release/ui/drivers/ui_cocoa.o
        obj-unix/release/gfx/drivers_context/cocoa_gl_ctx.o
    ld: 2 duplicate symbols for architecture x86_64

The change moves `apple_platform` definition from `apple_platform.h`
to `cocoa_common.m` leaving only declaration in `apple_platform.h`.
2022-07-23 10:24:46 +02:00
..
drivers ui/drivers/cocoa: fix -fno-common build (#14204) 2022-07-23 10:24:46 +02:00
ui_companion_driver.c Move ui_companion_driver code out of retroarch.c (#13268) 2021-11-21 23:19:23 +01:00
ui_companion_driver.h Move ui_companion_driver code out of retroarch.c (#13268) 2021-11-21 23:19:23 +01:00