summaryrefslogtreecommitdiffstats
path: root/src/portable.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2020-02-12 20:08:11 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2020-02-12 20:08:11 (GMT)
commit10b2b8fc694b60a17ccd2642f3a40c851e33b9da (patch)
tree9901c6f8603c20fd3422e9f068da1fb9cab13317 /src/portable.cpp
parentb107d3412b12c37a6b87c7315bc4039446cd3338 (diff)
downloadDoxygen-10b2b8fc694b60a17ccd2642f3a40c851e33b9da.zip
Doxygen-10b2b8fc694b60a17ccd2642f3a40c851e33b9da.tar.gz
Doxygen-10b2b8fc694b60a17ccd2642f3a40c851e33b9da.tar.bz2
Improve formula handling and rendering.
Also added option HTML_FORMULA_FORMAT to generate SVG files for images (requires pdf2svg)
Diffstat (limited to 'src/portable.cpp')
-rw-r--r--src/portable.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/portable.cpp b/src/portable.cpp
index 403b0ea..8ceb7d6 100644
--- a/src/portable.cpp
+++ b/src/portable.cpp
@@ -567,3 +567,12 @@ const char *Portable::strnstr(const char *haystack, const char *needle, size_t h
}
return 0;
}
+
+const char *Portable::devNull()
+{
+#if defined(_WIN32) && !defined(__CYGWIN__)
+ return "NUL";
+#else
+ return "/dev/null";
+#endif
+}