aboutsummaryrefslogtreecommitdiffstats
path: root/.dir-locals.el
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-04-10 14:17:35 +0200
committerJay Berkenbilt <ejb@ql.org>2022-04-10 22:52:36 +0200
commit90cfe80bacdd0d398631afce76c4182e08cc78b9 (patch)
tree369c3b9dfb0f8f8dac6181267b843934e976e40a /.dir-locals.el
parent8c504c9a905dc1cddbcbb32b368afe91f340984f (diff)
downloadqpdf-90cfe80bacdd0d398631afce76c4182e08cc78b9.tar.zst
Clean up/fix DLL.h
* Change DLL_EXPORT to libqpdf_EXPORTS (internal to the build). The new name is cmake's default, is more conventional, and is less likely to clash with other symbols. * Add QPDF_DLL_PRIVATE for non-Windows * Make logic around when to define QPDF_DLL et al more explicit * Add detailed comments
Diffstat (limited to '.dir-locals.el')
-rw-r--r--.dir-locals.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/.dir-locals.el b/.dir-locals.el
index d3c0b626..18e38e8d 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -20,7 +20,8 @@
)
)
)
- (c-noise-macro-names . ("QPDF_DLL" "QPDF_DLL_CLASS" "QPDF_DLL_LOCAL"))
+ (c-noise-macro-names
+ . ("QPDF_DLL" "QPDF_DLL_CLASS" "QPDF_DLL_PRIVATE"))
)
)
(c++-mode . ((eval . (progn