mirror of
https://github.com/aaru-dps/fstester.git
synced 2025-12-16 19:24:39 +00:00
Rename time.h to timew32.h to prevent conflicts with older compilers.
This commit is contained in:
@@ -31,7 +31,7 @@ project(
|
|||||||
DESCRIPTION "Filesystem test creator for 32-bit and 64-bit Windows"
|
DESCRIPTION "Filesystem test creator for 32-bit and 64-bit Windows"
|
||||||
LANGUAGES C)
|
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}")
|
set(EXECUTABLE_NAME "fssetter-${CMAKE_SYSTEM_NAME}-${CMAKE_SYSTEM_PROCESSOR}")
|
||||||
|
|
||||||
|
|||||||
@@ -33,11 +33,9 @@ Copyright (C) 2011-2021 Natalia Portillo
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "win32.h"
|
#include "win32.h"
|
||||||
|
|
||||||
#include "time.h"
|
|
||||||
|
|
||||||
#include "../include/defs.h"
|
#include "../include/defs.h"
|
||||||
#include "../log.h"
|
#include "../log.h"
|
||||||
|
#include "timew32.h"
|
||||||
|
|
||||||
void Timestamps(const char* path)
|
void Timestamps(const char* path)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user