Artifact ba698f970032ed9ee653ce41170b911ada497df64c36de3eedf93112af3f5820:
- 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]
/* * Copyright (c) 2008 - 2009 * Jonathan Schleifer <js@webkeks.org> * * All rights reserved. * * This file is part of libobjfw. 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 libobjfw 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