gio/glocalfile.c: Windows: Define ECANCELED if not already defined

Older Visual Studio may not have it defined, so define it like what is
defined for Visual Studio 2010 and later.
This commit is contained in:
Chun-wei Fan 2016-07-18 14:41:17 +08:00
parent c08b1a6ae5
commit 97972471ca

View File

@ -84,6 +84,10 @@
#ifndef S_ISLNK
#define S_ISLNK(m) (0)
#endif
#ifndef ECANCELED
#define ECANCELED 105
#endif
#endif