summaryrefslogtreecommitdiffstats
path: root/client/common.h
Commit message (Collapse)AuthorAgeFilesLines
* client: fix missing stdarg.h includeYann E. MORIN2012-08-271-0/+1
| | | | | | | When the C library is uClibc, stdarg.h is required to get the definition for va_list et al. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* Ensure __STDC_FORMAT_MACROS is always defined firstDaniel P. Berrange2012-04-261-1/+0
| | | | | | | | | | | The client/common.h file defines __STDC_FORMAT_MACROS before including inttypes.h so that the PRI* macros get defined in C++. This is ignoring the possibility that other global includes may have already pulled in inttypes.h We need __STDC_FORMAT_MACROS to be defined before any header files are included. Putting it in config.h satisfies this, since config.h is always the first header
* mingw: #ifdef unneeded #define in common.hChristophe Fergeau2012-03-041-0/+2
| | | | | | | | | common.h has some #define when doing win32 build to workaround a few missing functions on these systems. However, since mingw32 has some of these, this causes either warnings about redefining preprocessor symbols or wreak havoc in mingw headers trying to use these symbols. This commit wraps these symbols in an #ifndef __MINGW32__ to avoid using them on this platform.
* Remove trailing blank linesDaniel P. Berrange2012-01-131-1/+0
| | | | Remove any blank lines at the end of all source files
* client/common.h: mingw32 fixAlon Levy2012-01-131-2/+2
| | | | | | define PACKAGE_VERSION only ifndef __GNUC__ Since it is defined by autoconf and so it kinda comes with using the GNU compilers.
* client/windows: init PACKAGE_VERSIONArnon Gilboa2011-05-121-0/+2
| | | | | in windows, we set PACKAGE_VERSION to the binary version since we don't have config.h as generated by linux configure
* s/USE_OGL/USE_OPENGLChristophe Fergeau2011-05-031-1/+1
| | | | This is more explicit about what it does, and not much longer
* client: fix broken vs2008 buildAlon Levy2011-01-271-1/+10
|
* mingw32 build: fix build errorsGerd Hoffmann2010-12-081-0/+10
| | | | Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* mingw32 build: disable ms compiler pragmas for gccGerd Hoffmann2010-12-081-0/+2
| | | | Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* client: Include config.h from common.hAlexander Larsson2010-09-291-0/+4
| | | | | config.h should be availible everywhere, so move its inclusion to the top of common.h.
* Make opengl optional, disabled by defaultAlexander Larsson2010-06-211-0/+2
| | | | | | | | | | The OpenGL renderer isn't really useful right now, its not quite up to date, its not really faster than software and it only supports a limited subset of drivers. So, lets disable it for now. Long term opengl rendering of the 2d part of spice is important if we want to combine 2d and 3d rendering (say if spice adds opengl support in the protocol). But until then this is isn't useful for normal use.
* Relicense everything from GPL to LGPL 2.1+Alexander Larsson2010-04-131-9/+9
|
* Use standard int types and <spice/types.h>Alexander Larsson2010-02-041-2/+1
|
* fresh startYaniv Kamay2009-10-141-0/+63