• Vladislav Vaintroub's avatar
    Fix compilation on Windows: · 8250cece
    Vladislav Vaintroub authored
    - Fixes for type-conversion
      (time_t   is not interchangeable  with  my_time_t on Windows as time_t s 64 bit while my_time_t is long)
    - BIGENDIAN-> ARCH_BIGENDIAN . 
      BIGENDIAN constant  is defined in winsock2.h (as 0)
    - added explicit cast for longlong->double conversion in sql/item.h  (fixed many warnings) 
    
    Also, HAVE_SNPRINTF is now defined and snprintf is defined to _snprintf in config-win.h
    8250cece
item.h 103 KB