[std C compliance] replace #pragma once in common.h with standard #ifndef guard

main
Joaquin 4 years ago
parent cb84c1614f
commit f4beeeab78
Signed by: puly
GPG Key ID: 9E9299CD96C65EC6
  1. 10
      common.h

@ -1,5 +1,7 @@
#pragma once
#ifndef COMMONH
typedef unsigned char byte; //8bit (byte) variable type
typedef unsigned short word; //16bit (2byte) variable type
typedef enum {false, true} bool;
#endif
typedef unsigned char byte; //8bit (byte) variable type
typedef unsigned short word; //16bit (2byte) variable type
typedef enum {false, true} bool;
#define COMMONH
Loading…
Cancel
Save