From 757bfa1abea1edfb7a13eca3875f77c3eca8de23 Mon Sep 17 00:00:00 2001 From: ptahmose Date: Sat, 19 Oct 2024 00:40:31 +0200 Subject: [PATCH] Refactor headers and remove platform-specific directives Removed the `#define _GNU_SOURCE` directive and the `#ifdef _WIN32` block along with its corresponding `#else` block. Added `#include "mex.h"`, `#include "../AppModel/include/app_api.h"`, and `#include `. These changes streamline the code by removing platform-specific dependencies and incorporating the MEX API and application model headers. --- OctaveMex/octavelibczi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OctaveMex/octavelibczi.c b/OctaveMex/octavelibczi.c index 9084924..f1268e7 100644 --- a/OctaveMex/octavelibczi.c +++ b/OctaveMex/octavelibczi.c @@ -1,4 +1,3 @@ -#define MX_HAS_INTERLEAVED_COMPLEX 1 #define _GNU_SOURCE #ifdef _WIN32 #include @@ -9,6 +8,7 @@ #include #endif +#define MX_HAS_INTERLEAVED_COMPLEX 1 #include "mex.h" #include "../AppModel/include/app_api.h" #include