Skip to content

Commit ce28da1

Browse files
authored
Revert unneeded part of "[NFC][Testing] Test Poppler with optimizations" (#24661)
Reverts part of #24628
1 parent ec6796d commit ce28da1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/third_party/poppler/goo/GooLikely.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@
1111
#ifndef GOOLIKELY_H
1212
#define GOOLIKELY_H
1313

14-
// XXX EMSCRIPTEN: Remove gcc-specific detection of __builtin_expect.
15-
// #if defined(__GNUC__) && (__GNUC__ > 2) && defined(__OPTIMIZE__)
16-
#ifdef __EMSCRIPTEN__
14+
#if defined(__GNUC__) && (__GNUC__ > 2) && defined(__OPTIMIZE__)
1715
# define likely(x) __builtin_expect((x), 1)
1816
# define unlikely(x) __builtin_expect((x), 0)
1917
#else

0 commit comments

Comments
 (0)