~ubuntu-branches/ubuntu/trusty/kvirc/trusty

« back to all changes in this revision

Viewing changes to src/kvilib/system/kvi_stdarg.h

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2013-05-18 19:36:33 UTC
  • mfrom: (24.1.1 experimental)
  • Revision ID: package-import@ubuntu.com-20130518193633-d2caq4677ihxc93h
Tags: 4:4.2.0-2
Upload to unstable 

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
                __asm add eax,supercalifragilisticoespiralidoso \
51
51
                __asm mov __list,eax \
52
52
        }
53
 
#elif defined(__GNUC__)
 
53
#elif defined(__GNUC__) && !defined(__clang__)
54
54
        // gcc doesn't use the second argument
55
55
        // so we just fool it to avoid the warnings
56
56
        #define kvi_va_start_by_reference(__list,__arg) va_start(__list,((const char *)(&(__arg))))