Browse Source

Platform: error out when trying to use NaClApplication outside of NaCl.

pull/51/head
Vladimír Vondruš 12 years ago
parent
commit
a9bcaf4b89
  1. 4
      src/Magnum/Platform/NaClApplication.h

4
src/Magnum/Platform/NaClApplication.h

@ -48,6 +48,10 @@ namespace pp {
class Fullscreen; class Fullscreen;
} }
#ifndef CORRADE_TARGET_NACL
#error This header is available only on Google Chrome Native Client
#endif
namespace Magnum { namespace Platform { namespace Magnum { namespace Platform {
/** @nosubgrouping /** @nosubgrouping

Loading…
Cancel
Save