diff --git a/src/types.hpp b/src/types.hpp index d0d1ba5..e1d97a5 100644 --- a/src/types.hpp +++ b/src/types.hpp @@ -1,6 +1,8 @@ #include #include +#ifndef TYPES + enum class CommandType { ADD, SUB, @@ -48,3 +50,6 @@ typedef struct { SegmentType segment; int index; } Command; + +#define TYPES +#endif