Commit 480b1a88 authored by jan.koester's avatar jan.koester
Browse files

test

parent 8643f895
Loading
Loading
Loading
Loading
+10 −0
Changes for plugins/nodeinfo/nodeinfo.cpp: 10 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -153,6 +153,16 @@ namespace blogi {
            htmltable << (libhtmlpp::HtmlTable::Row() << "Hardware        :" << usysinfo.machine);
            htmltable << (libhtmlpp::HtmlTable::Row() <<  _DistName << _DistEntry);
#else // Windows implementation
            // Typedef for the signature of GetProductInfo
            typedef BOOL (WINAPI *PGETPRODUCTINFO)(
                DWORD dwOSMajorVersion,
                DWORD dwOSMinorVersion,
                DWORD dwSpMajorVersion,
                DWORD dwSpMinorVersion,
                PDWORD pdwReturnedProductType
            );


            OSVERSIONINFOW info;
            memset(&info, 0, sizeof(OSVERSIONINFOW));
            info.dwOSVersionInfoSize = sizeof(OSVERSIONINFOW);