Fix missing undefine in sort_template.h

All parameter macros are supposed to be undefined at the end of the
header. ST_CHECK_FOR_INTERRUPTS was forgotten, so could affect later
inclusions.

Thomas Munro

The patch set of which this is a part is discussed in
https://www.postgresql.org/message-id/CA%2BhUKGLPommgNw-SVwUGkw1YmTDwmJ5vSKO0kFnZfbRHtNFW5w%40mail.gmail.com
pull/77/head
John Naylor 4 years ago
parent b426bd48ee
commit 0526f2f4c3
  1. 1
      src/include/lib/sort_template.h

@ -407,6 +407,7 @@ loop:
#undef DO_SORT #undef DO_SORT
#undef DO_SWAP #undef DO_SWAP
#undef DO_SWAPN #undef DO_SWAPN
#undef ST_CHECK_FOR_INTERRUPTS
#undef ST_COMPARATOR_TYPE_NAME #undef ST_COMPARATOR_TYPE_NAME
#undef ST_COMPARE #undef ST_COMPARE
#undef ST_COMPARE_ARG_TYPE #undef ST_COMPARE_ARG_TYPE

Loading…
Cancel
Save