Commit graph

2 commits

Author SHA1 Message Date
Behdad Esfahbod
7f3a48f90b [cairo.h] Don't define cairo_public to __declspec(dllimport) for static build
That define should target win32 DLL builds only.  We can't tell though,
so we require user to define CAIRO_WIN32_STATIC_BUILD to signal that.
2008-09-26 13:27:42 -04:00
Behdad Esfahbod
45609d8400 Add cairo-system.c for platform system-specific code
This is where DLL initialization/finalization should be done for example.
Moved the one for win32.  For OS/2 just left a comment as the code needs
more work.

This change simplifies building shared and static libraries in the win32
makefiles.
2008-09-20 18:26:27 -04:00