-
WIN32_LEAN_AND_MEANComputer/Tips 2022. 12. 26. 14:52
#ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN #endif
- 일부 사용하지 않는 Win32 API를 include에서 제외하여 header가 조금 더 가볍도록 하고 build time을 단축할 수 있음
- Project 생성 시, Pre-compiled header를 선택한다면
stdafx.h
에서 자동 설정됨
'Computer > Tips' 카테고리의 다른 글
open, fopen function 차이 (0) 2022.12.31 Rust prefer-dynamic (0) 2022.12.26 Command: ulimit (0) 2022.12.26 SOLID 원칙 (0) 2022.12.26 ws2_32.lib (0) 2022.12.26