Skip to content

Commit

Permalink
Restore defines
Browse files Browse the repository at this point in the history
  • Loading branch information
CurlyMoo committed Dec 7, 2024
1 parent 8fbec94 commit 0eafffa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions HeishaMon/src/rules/rules.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

#ifdef ESP8266
#if defined(ESP8266) || defined(ESP32)
#pragma GCC diagnostic warning "-fpermissive"
#endif

#ifndef ESP8266
#if !defined(ESP8266) || !defined(ESP32)
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
Expand Down Expand Up @@ -78,7 +78,7 @@ typedef struct vm_vchar_t {
uint8_t len;
uint8_t ref;
char *value;
#ifdef ESP8266
#if defined(ESP8266) || defined(ESP32)
} __attribute__((packed, aligned(4))) vm_vchar_t;
#else
} __attribute__((aligned(4))) vm_vchar_t;
Expand Down

0 comments on commit 0eafffa

Please sign in to comment.