include/SDL_cpuinfo.h
changeset 5115 427998ff3bcf
parent 3697 f7b03b6838cb
child 5116 02b860cbc7ce
     1.1 --- a/include/SDL_cpuinfo.h	Thu Jan 27 15:31:00 2011 -0800
     1.2 +++ b/include/SDL_cpuinfo.h	Thu Jan 27 16:46:15 2011 -0800
     1.3 @@ -39,6 +39,11 @@
     1.4  /* *INDENT-ON* */
     1.5  #endif
     1.6  
     1.7 +/* This is a guess for the cacheline size used for padding, and is correct
     1.8 + * for most x86 processors at this point.
     1.9 + */
    1.10 +#define SDL_CACHELINE_SIZE  64
    1.11 +
    1.12  /**
    1.13   *  This function returns the number of CPU cores available.
    1.14   */