Skip to content

Commit c08d554

Browse files
Subbarao Garlapatimeta-codesync[bot]
authored andcommitted
Add ENABLE_LAZY_IMPORTS definition to PC/pyconfig.h
Summary: Lazy Imports 3.14 Windows [enablement](https://www.internalfb.com/diff/D86315832) is failing. This may be because the `ENABLE_LAZY_IMPORTS` macro is not defined in `PC/pyconfig.h`. Unlike other `pyconfig.h` files this file is not automatically generated by `configure`. Reviewed By: czardoz Differential Revision: D87348393 fbshipit-source-id: e237e3f1d51116f752ca1810d57b101b9918e4bc
1 parent 7f792ea commit c08d554

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

PC/pyconfig.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,9 @@ WIN32 is still required for the locale module.
107107
#endif
108108
#endif
109109

110+
/* Define if you want to enable lazy imports */
111+
#define ENABLE_LAZY_IMPORTS 1
112+
110113
/* Compiler specific defines */
111114

112115
/* ------------------------------------------------------------------------*/

0 commit comments

Comments
 (0)