Added config.w32 for Windows builds
Added call TSRMLS_FETCH() macro for  lookup based on the current threading context and declare a local copy of the tsrm_ls pointer
Added initialize global variables
Fixed return type
Fixed macro expansion