forked from AuroraMiddleware/gtk
Merge branch 'master-msvc-fixes' into 'master'
Fix GIT master build on Visual Studio 2015 See merge request GNOME/gtk!4010
This commit is contained in:
commit
b4d91d5e31
@ -24,9 +24,11 @@
|
||||
#include "gdkdevice-virtual.h"
|
||||
#include "gdkdevice-winpointer.h"
|
||||
#include "gdkdeviceprivate.h"
|
||||
#include "gdkdisplayprivate.h"
|
||||
#include "gdkseatdefaultprivate.h"
|
||||
#include "gdkdevicetoolprivate.h"
|
||||
#include "gdkdisplayprivate.h"
|
||||
#include "gdkeventsprivate.h"
|
||||
#include "gdkseatdefaultprivate.h"
|
||||
|
||||
#include "gdkinput-winpointer.h"
|
||||
|
||||
#include <windows.h>
|
||||
|
@ -29,18 +29,19 @@
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "gdk.h"
|
||||
#include "gdksurfaceprivate.h"
|
||||
#include "gdktoplevelprivate.h"
|
||||
#include "gdkpopupprivate.h"
|
||||
#include "gdkdragsurfaceprivate.h"
|
||||
#include "gdkprivate-win32.h"
|
||||
#include "gdkdeviceprivate.h"
|
||||
#include "gdkdevicemanager-win32.h"
|
||||
#include "gdkenumtypes.h"
|
||||
#include "gdkwin32.h"
|
||||
#include "gdkdisplayprivate.h"
|
||||
#include "gdkdragsurfaceprivate.h"
|
||||
#include "gdkframeclockidleprivate.h"
|
||||
#include "gdkmonitorprivate.h"
|
||||
#include "gdkpopupprivate.h"
|
||||
#include "gdkseatprivate.h"
|
||||
#include "gdksurfaceprivate.h"
|
||||
#include "gdktoplevelprivate.h"
|
||||
#include "gdkwin32surface.h"
|
||||
#include "gdkwin32cursor.h"
|
||||
#include "gdkinput-winpointer.h"
|
||||
|
@ -146,7 +146,7 @@ float_to_half (const float *f, guint16 *h, int n)
|
||||
if (have_f16c_msvc ())
|
||||
float_to_half_f16c (f, h, n);
|
||||
else
|
||||
float_to_half4_c (f, h, n);
|
||||
float_to_half_c (f, h, n);
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -400,7 +400,7 @@ pangocairo_dep = dependency('pangocairo', version: pango_req,
|
||||
pixbuf_dep = dependency('gdk-pixbuf-2.0', version: gdk_pixbuf_req,
|
||||
fallback : ['gdk-pixbuf', 'gdkpixbuf_dep'],
|
||||
default_options: ['png=enabled', 'jpeg=enabled', 'builtin_loaders=png,jpeg', 'man=false'])
|
||||
png_dep = dependency('libpng',
|
||||
png_dep = dependency(cc.get_argument_syntax() == 'msvc' ? 'png' : 'libpng',
|
||||
fallback: ['libpng', 'libpng_dep'],
|
||||
required: true)
|
||||
tiff_dep = dependency('libtiff-4',
|
||||
|
Loading…
Reference in New Issue
Block a user