1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-15 06:44:10 +02:00

Linux fix

This commit is contained in:
Brian Fiete 2020-01-24 13:45:30 -08:00
parent 7de7245b33
commit d39450b3ab
2 changed files with 6 additions and 4 deletions

View file

@ -137,20 +137,18 @@ namespace System.FFI
#if BF_PLATFORM_WINDOWS
#if BF_64_BIT
[AllowDuplicates]
enum FFIABI : int32
{
NotSet = 0,
StdCall = 1,
#unwarn
ThisCall = 1,
#unwarn
FastCall = 1,
#unwarn
MS_CDecl = 1,
#unwarn
Default = 1
}
#else
[AllowDuplicates]
enum FFIABI : int32
{
NotSet = 0,
@ -167,6 +165,7 @@ namespace System.FFI
#else //!BF_PLATFORM_WINDOWS
#if BF_64_BIT
[AllowDuplicates]
enum FFIABI : int32
{
NotSet = 0,
@ -175,6 +174,7 @@ namespace System.FFI
Default = Unix64
}
#else
[AllowDuplicates]
enum FFIABI : int32
{
NotSet = 0,

View file

@ -10175,7 +10175,9 @@ namespace IDE
Environment.GetExecutableFilePath(exeFilePath);
mVersionInfo = new .();
mVersionInfo.GetVersionInfo(exeFilePath).IgnoreError();
#if BF_PLATFORM_WINDOWS
exeTime = File.GetLastWriteTime(exeFilePath).GetValueOrDefault();
#endif
}
return mVersionInfo;
}