Browse Source

Rename time.h to scsi2sd_time.h to avoid conflict with system headers.

Petteri Aimonen 3 years ago
parent
commit
6f6444eb1c

+ 0 - 0
lib/AzulSCSI_platform_GD32F205/time.h → lib/AzulSCSI_platform_GD32F205/scsi2sd_time.h


+ 1 - 1
lib/AzulSCSI_platform_GD32F205/scsiPhy.cpp

@@ -14,7 +14,7 @@
 #include <scsi2sd.h>
 extern "C" {
 #include <scsi.h>
-#include <time.h>
+#include <scsi2sd_time.h>
 }
 
 // Acceleration mode in use

+ 0 - 0
lib/AzulSCSI_platform_template/time.h → lib/AzulSCSI_platform_template/scsi2sd_time.h


+ 1 - 1
lib/AzulSCSI_platform_template/scsiPhy.cpp

@@ -10,7 +10,7 @@
 #include <scsi2sd.h>
 extern "C" {
 #include <scsi.h>
-#include <time.h>
+#include <scsi2sd_time.h>
 }
 
 /***********************/

+ 1 - 1
lib/SCSI2SD/src/firmware/scsi.c

@@ -23,7 +23,7 @@
 #include "inquiry.h"
 #include "led.h"
 #include "mode.h"
-#include "time.h"
+#include "scsi2sd_time.h"
 #include "bsp.h"
 #include "cdrom.h"
 //#include "debug.h"

+ 1 - 1
src/AzulSCSI_disk.cpp

@@ -14,7 +14,7 @@
 #include <SdFat.h>
 
 extern "C" {
-#include <time.h>
+#include <scsi2sd_time.h>
 #include <sd.h>
 }