mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
daemon/Win32: NAME_MAX does not exist on Windows, use FILENAME_MAX instead.
This commit is contained in:
@@ -32,6 +32,11 @@
|
||||
#include "daemon.h"
|
||||
#include "actions.h"
|
||||
|
||||
/* On Windows, NAME_MAX is not defined. */
|
||||
#ifndef NAME_MAX
|
||||
#define NAME_MAX FILENAME_MAX
|
||||
#endif
|
||||
|
||||
char *
|
||||
do_realpath (const char *path)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user