summaryrefslogtreecommitdiff
path: root/util/cairo-missing
Commit message (Collapse)AuthorAgeFilesLines
* Defining Windows version macros in meson.buildFujii Hironori2023-01-131-1/+0
| | | | | | | | | WINVER and _WIN32_WINNT macros were defined in each source files and headers that were including <windows.h>. However, because DirectWrite requires new Windows API, some files included <windows.h> without the version macros. This inconsistency sometimes caused troubles. Define the version macros in meson.build.
* Remove autotools buildAdrian Johnson2023-01-083-28/+0
|
* Fix bug in strndup implementationAdrian Johnson2023-01-031-2/+6
| | | | | The strlen() could go past the n bytes and into a memory address we don't have read access to.
* meson: Use more dependency objectsUli Schlachter2021-05-221-2/+5
| | | | | | | | For example, to depend on cairo-script, inccairoscript was added to "include_directories:" and libcairoscript was added to "link_with:". This commit instead uses the libcairoscript_dep dependency everywhere. Signed-off-by: Uli Schlachter <psychon@znc.in>
* meson: Define HAVE_CONFIG_H as a project flagEmmanuele Bassi2021-05-011-1/+0
| | | | | | | | Precisely what Autotools does, instead of adding it as per-target C argument. Once we remove HAVE_CONFIG_H checks in every source file, we'll be able to drop it.
* meson: only build cairo-boilerplate and cairo-missing helper libs if neededTim-Philipp Müller2021-01-151-0/+2
| | | | | Used by tests and the sphinx utility, which may or may not be built, and if they're not built we don't need to build those libs either.
* Add meson build definitionsMathieu Duponchelle2020-07-311-0/+11
| | | | | | | Co-Authored by: Nirbheek Chauhan <nirbheek@centricular.com> lb90 <luca.bacci982@gmail.com> Tim-Philipp Müller <tim@centricular.com>
* Fix SSIZE_T definition problem when making with MSYS on Windows7Bryce Harrington2013-10-311-1/+1
| | | | | | | Patch provided by Martin Schlemmer <Martin.Schlemmer@nwu.ac.za> on the mailing list. Reviewed-by: Bryce Harrington <b.harrington@samsung.com>
* win32: Avoid redefining ssize_tKalev Lember2012-03-291-0/+2
| | | | | | ... if it's already defined by system headers. mingw-w64 includes a ssize_t definition, so we'll have to make sure not to redefine it in that case.
* Make cairo-missing a static libraryAndrea Canciani2011-09-181-1/+1
| | | | It was meant to be static, but my autotools-fu was not good enough.
* cairo-missing: Fix buildAndrea Canciani2011-09-043-8/+12
| | | | | The cairo-missing code contains multiple typos and uses _cairo_*alloc*() functions without including cairo-malloc-private.h
* cairo-missing: Fix and cleanup ssize_t type definitionAndrea Canciani2011-09-041-0/+8
| | | | | The definition of ssize_t is needed in cairo-missing.h and can be dropped from files which include it.
* Introduce the cairo-missing libraryAndrea Canciani2011-09-026-0/+220
The cairo-missing library provides the functions which are needed in order to correctly compile cairo (or its utilities) and which were not found during configuration. Fixes the build on MacOS X Lion, which failed because of collisons between the cairo internal getline and strndup and those in libc: cairo-analyse-trace.c:282: error: static declaration of ‘getline’ follows non-static declaration /usr/include/stdio.h:449: error: previous declaration of ‘getline’ was here cairo-analyse-trace.c:307: error: static declaration of ‘strndup’ follows non-static declaration ...