Skip to content

Commit

Permalink
Fix apple build
Browse files Browse the repository at this point in the history
  • Loading branch information
barisyild authored Oct 14, 2024
1 parent 8ac7c4c commit a427d1f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/hx/libs/std/Sys.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,11 @@ void _hx_std_sys_rename( String path, String newname )
}

#define STATF32(f) o->Add(HX_CSTRING(#f),(int)(s.st_##f))
#ifdef __APPLE__
#define STATF64(f) o->Add(HX_CSTRING(#f),static_cast<int64_t>(s.st_##f))
#else
#define STATF64(f) o->Add(HX_CSTRING(#f),(long)(s.st_##f))
#endif

/**
sys_stat : string -> {
Expand Down

0 comments on commit a427d1f

Please sign in to comment.