Differences From Artifact [ba698f9700]:
- File
src/asprintf.h
— part of check-in
[5903c87d36]
at
2009-08-17 21:13:21
on branch trunk
— Ensure in the headers that we got the required definitions.
This prevents compiling stuff using libobjfw without objfw-config,
which could generate strange bugs. (user: js, size: 557) [annotate] [blame] [check-ins using]
To Artifact [ded1b7d5c2]:
- File src/asprintf.h — part of check-in [a3cc34b139] at 2009-11-09 22:45:13 on branch trunk — Rename libobjfw to ObjFW. (user: js, size: 551) [annotate] [blame] [check-ins using]
1 2 3 4 5 6 | /* * Copyright (c) 2008 - 2009 * Jonathan Schleifer <js@webkeks.org> * * All rights reserved. * | | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | /* * Copyright (c) 2008 - 2009 * Jonathan Schleifer <js@webkeks.org> * * All rights reserved. * * This file is part of ObjFW. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ #ifndef OF_CONFIGURED #error You are missing the ObjFW definitions! #error Please use objfw-config! #endif #ifndef OF_HAVE_ASPRINTF #include <stdarg.h> extern int asprintf(char**, const char*, ...); extern int vasprintf(char**, const char*, va_list); #endif |