Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(12)

Delta Between Two Patch Sets: Python/dynamic_annotations.c

Issue 3871: cross and native build of python for mingw32 with distutils
Left Patch Set: Created 7 years, 3 months ago
Right Patch Set: Created 7 years, 2 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « Python/ceval.c ('k') | Python/errors.c » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(Both sides are equal)
1 /* Copyright (c) 2008-2009, Google Inc. 1 /* Copyright (c) 2008-2009, Google Inc.
2 * All rights reserved. 2 * All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Neither the name of Google Inc. nor the names of its 10 * * Neither the name of Google Inc. nor the names of its
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 static volatile int running_on_valgrind = -1; 145 static volatile int running_on_valgrind = -1;
146 /* C doesn't have thread-safe initialization of statics, and we 146 /* C doesn't have thread-safe initialization of statics, and we
147 don't want to depend on pthread_once here, so hack it. */ 147 don't want to depend on pthread_once here, so hack it. */
148 int local_running_on_valgrind = running_on_valgrind; 148 int local_running_on_valgrind = running_on_valgrind;
149 if (local_running_on_valgrind == -1) 149 if (local_running_on_valgrind == -1)
150 running_on_valgrind = local_running_on_valgrind = GetRunningOnValgrind(); 150 running_on_valgrind = local_running_on_valgrind = GetRunningOnValgrind();
151 return local_running_on_valgrind; 151 return local_running_on_valgrind;
152 } 152 }
153 153
154 #endif /* DYNAMIC_ANNOTATIONS_ENABLED == 1 */ 154 #endif /* DYNAMIC_ANNOTATIONS_ENABLED == 1 */
LEFTRIGHT

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+