summaryrefslogtreecommitdiffstats
path: root/o3d/gpu_plugin/np_utils/np_headers.h
diff options
context:
space:
mode:
Diffstat (limited to 'o3d/gpu_plugin/np_utils/np_headers.h')
-rw-r--r--o3d/gpu_plugin/np_utils/np_headers.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/o3d/gpu_plugin/np_utils/np_headers.h b/o3d/gpu_plugin/np_utils/np_headers.h
index 3ba3c30..89e666a 100644
--- a/o3d/gpu_plugin/np_utils/np_headers.h
+++ b/o3d/gpu_plugin/np_utils/np_headers.h
@@ -5,11 +5,6 @@
#ifndef O3D_GPU_PLUGIN_NP_UTILS_NP_HEADERS_H_
#define O3D_GPU_PLUGIN_NP_UTILS_NP_HEADERS_H_
-// This is a hack to work around the differing definitions of NPString in the
-// Chrome and O3D NPAPI headers.
-#define utf8characters UTF8Characters
-#define utf8length UTF8Length
-
#if defined(O3D_IN_CHROME)
#include "third_party/npapi/bindings/npapi.h"
#include "third_party/npapi/bindings/npruntime.h"
@@ -18,9 +13,4 @@
#include "o3d/third_party/npapi/include/npruntime.h"
#endif
-// Deliberately not including a directory name because Chromium and O3D put
-// these headers in different directories.
-#undef utf8characters
-#undef utf8length
-
#endif // O3D_GPU_PLUGIN_NP_UTILS_NP_HEADERS_H_