media/webrtc/trunk/tools/gyp/test/cflags/cflags.c

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/media/webrtc/trunk/tools/gyp/test/cflags/cflags.c	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,15 @@
     1.4 +/* Copyright (c) 2010 Google Inc. All rights reserved.
     1.5 + * Use of this source code is governed by a BSD-style license that can be
     1.6 + * found in the LICENSE file. */
     1.7 +
     1.8 +#include <stdio.h>
     1.9 +
    1.10 +int main(int argc, char *argv[])
    1.11 +{
    1.12 +#ifdef __OPTIMIZE__
    1.13 +  printf("Using an optimization flag\n");
    1.14 +#else
    1.15 +  printf("Using no optimization flag\n");
    1.16 +#endif
    1.17 +  return 0;
    1.18 +}

mercurial