Skip to content
Permalink
Browse files

FileAttributesPlugin: Exclude faConvertUnixToLongSqueakTime on Win32

  • Loading branch information...
akgrant committed Jun 17, 2018
1 parent 309a810 commit 84433d3607c6b951bb278616dd40817ded05d174
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/plugins/FileAttributesPlugin/FileAttributesPlugin.c
@@ -414,6 +414,10 @@ faConvertUnixToLongSqueakTime(time_t unixTime)
{
sqLong squeakTime;


# if defined(_WIN32)
squeakTime = 0;
# else /* defined(_WIN32) */
squeakTime = unixTime;

# if defined(HAVE_TM_GMTOFF)
@@ -428,6 +432,7 @@ faConvertUnixToLongSqueakTime(time_t unixTime)
# endif /* defined(HAVE_TIMEZONE) */
# endif /* defined(HAVE_TM_GMTOFF) */
squeakTime += (52*365UL + 17*366UL) * 24*60*60UL;
# endif /* defined(_WIN32) */
return squeakTime;
}

0 comments on commit 84433d3

Please sign in to comment.
You can’t perform that action at this time.