| OLD | NEW |
| (Empty) | |
| 1 /* |
| 2 * Copyright (c) 2012 The Native Client Authors. All rights reserved. |
| 3 * Use of this source code is governed by a BSD-style license that can be |
| 4 * found in the LICENSE file. |
| 5 */ |
| 6 #ifndef PACKAGES_LIBRARIES_NACL_MOUNTS_UTIL_PPAPI_VERSION_H_ |
| 7 #define PACKAGES_LIBRARIES_NACL_MOUNTS_UTIL_PPAPI_VERSION_H_ |
| 8 |
| 9 // Horrible hack to determine ppapi version |
| 10 // TODO: figure something out for 17 |
| 11 #include <ppapi/c/ppb_var.h> |
| 12 |
| 13 #ifdef PPB_VAR_INTERFACE_1_1 |
| 14 #define ADHOC_PPAPI_VERSION 18 |
| 15 #else |
| 16 #define ADHOC_PPAPI_VERSION 16 |
| 17 #endif |
| 18 |
| 19 #endif // PACKAGES_LIBRARIES_NACL_MOUNTS_UTIL_VERSION_H_ |
| OLD | NEW |