summaryrefslogtreecommitdiffstats
path: root/third_party/python/gyp/test/defines/defines.c
blob: dda139275df9453b08c6a0b2b64e82a1a6b7e2a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* Copyright (c) 2011 Google Inc. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file. */

#include <stdio.h>

int main(void)
{
#ifdef FOO
  printf("FOO is defined\n");
#endif
  printf("VALUE is %d\n", VALUE);

#ifdef PAREN_VALUE
  printf("2*PAREN_VALUE is %d\n", 2*PAREN_VALUE);
#endif

#ifdef HASH_VALUE
  printf("HASH_VALUE is %s\n", HASH_VALUE);
#endif

  return 0;
}