mirror of
https://github.com/roytam1/mozilla45esr.git
synced 2026-05-26 15:39:48 +00:00
89830cff26
- #334: more tele from TabBrowser; also remove gMultiProcessBrowser since we don't support it (16f8592aa) - #431: M1388354 M1388014 (da843afa1) - #438: M1393098 (539efce0c) - #388: M1354564 (d375d57d3) - #429: Brotli 1.0.1 (c69914a5a) (with ppc-only defines removed) - #429: install modules/woff2 (current to Fx57) (87b560912) (with ppc-only defines removed) - #429: update OTS to 5.2.0 plus patches and M1396026 (1ce2a83ec) (with binary literals removed) - #317: update graphite2 to 1.3.10 (f4bf5ad97) - #429: update Harfbuzz to 1.5.1 (083639c71) - #317: patch thebes for graphite2 alignment issues; enable graphite fonts (b7fead52b) - #434: adjust video queue settings; Mach factor decode delay logic (default off) (9b5b09a6c) - clean up a couple warnings (f37f7669d) - #426: M1385395 (b8ebae839) - #438: M1375599 (84bfb83b1) - #442: M1381157 (ffbe7ea3a)
40 lines
1019 B
Diff
40 lines
1019 B
Diff
diff --git a/gfx/ots/include/opentype-sanitiser.h b/gfx/ots/include/opentype-sanitiser.h
|
|
--- a/gfx/ots/include/opentype-sanitiser.h
|
|
+++ b/gfx/ots/include/opentype-sanitiser.h
|
|
@@ -5,6 +5,26 @@
|
|
#ifndef OPENTYPE_SANITISER_H_
|
|
#define OPENTYPE_SANITISER_H_
|
|
|
|
+#if defined(_WIN32) || defined(__CYGWIN__)
|
|
+ #define OTS_DLL_IMPORT __declspec(dllimport)
|
|
+ #define OTS_DLL_EXPORT __declspec(dllexport)
|
|
+#else
|
|
+ #if __GNUC__ >= 4
|
|
+ #define OTS_DLL_IMPORT __attribute__((visibility ("default")))
|
|
+ #define OTS_DLL_EXPORT __attribute__((visibility ("default")))
|
|
+ #endif
|
|
+#endif
|
|
+
|
|
+#ifdef OTS_DLL
|
|
+ #ifdef OTS_DLL_EXPORTS
|
|
+ #define OTS_API OTS_DLL_EXPORT
|
|
+ #else
|
|
+ #define OTS_API OTS_DLL_IMPORT
|
|
+ #endif
|
|
+#else
|
|
+ #define OTS_API
|
|
+#endif
|
|
+
|
|
#if defined(_WIN32)
|
|
#include <stdlib.h>
|
|
typedef signed char int8_t;
|
|
@@ -161,7 +181,7 @@ enum TableAction {
|
|
TABLE_ACTION_DROP // Drop the table
|
|
};
|
|
|
|
-class OTSContext {
|
|
+class OTS_API OTSContext {
|
|
public:
|
|
OTSContext() {}
|
|
virtual ~OTSContext() {}
|