Rename time.h to timew32.h to prevent conflicts with older compilers.

This commit is contained in:
2021-04-07 01:41:18 +01:00
parent 98c812904c
commit 5f5f854dc3
3 changed files with 2 additions and 4 deletions

View File

@@ -31,7 +31,7 @@ project(
DESCRIPTION "Filesystem test creator for 32-bit and 64-bit Windows"
LANGUAGES C)
set(PLATFORM_SOURCES attr.c deleted.c dirdepth.c filename.c files.c frag.c links.c os.c perms.c rsrcfork.c sparse.c time.c volume.c xattr.c attr.h rsrcfork.h xattr.h links.h volume.h time.h os.h sparse.h)
set(PLATFORM_SOURCES attr.c deleted.c dirdepth.c filename.c files.c frag.c links.c os.c perms.c rsrcfork.c sparse.c time.c volume.c xattr.c attr.h rsrcfork.h xattr.h links.h volume.h timew32.h os.h sparse.h)
set(EXECUTABLE_NAME "fssetter-${CMAKE_SYSTEM_NAME}-${CMAKE_SYSTEM_PROCESSOR}")

View File

@@ -33,11 +33,9 @@ Copyright (C) 2011-2021 Natalia Portillo
#include <string.h>
#include "win32.h"
#include "time.h"
#include "../include/defs.h"
#include "../log.h"
#include "timew32.h"
void Timestamps(const char* path)
{