Changeset 9471


Ignore:
Timestamp:
Nov 2, 2009, 1:09:11 AM (13 years ago)
Author:
livings124
Message:

only mark a function as hot when compiled with GCC >= 4.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/utils.h

    r9464 r9471  
    7070
    7171#ifndef TR_GNUC_NULL_TERMINATED
    72  #if __GNUC__ >= 4
     72 #if __GNUC__ > 4 || ( __GNUC__ == 4 && __GNUC_MINOR__ >= 2 )
    7373  #define TR_GNUC_NULL_TERMINATED __attribute__ ( ( __sentinel__ ) )
    7474  #define TR_GNUC_HOT __attribute ( ( hot ) )
Note: See TracChangeset for help on using the changeset viewer.